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, else `false`.
10 function arraySome(array, predicate) {
12 length = array.length;
14 while (++index < length) {
15 if (predicate(array[index], index, array)) {
22 module.exports = arraySome;