2 * A specialized version of `_.every` for arrays without support for
6 * @param {Array} array The array to iterate over.
7 * @param {Function} predicate The function invoked per iteration.
8 * @returns {boolean} Returns `true` if all elements pass the predicate check, else `false`.
10 function arrayEvery(array, predicate) {
12 length = array.length;
14 while (++index < length) {
15 if (!predicate(array[index], index, array)) {
22 module.exports = arrayEvery;