2 * A specialized version of `_.some` for arrays without support for iteratee
6 * @param {Array} [array] The array to iterate over.
7 * @param {Function} predicate The function invoked per iteration.
8 * @returns {boolean} Returns `true` if any element passes the predicate check,
11 function arraySome(array, predicate) {
13 length = array == null ? 0 : array.length;
15 while (++index < length) {
16 if (predicate(array[index], index, array)) {
23 module.exports = arraySome;