Sha256: 88672930cbb2e98559d2b4527226da4d773001b4b15c0fd629b9bc8069f5522f
Contents?: true
Size: 525 Bytes
Versions: 153
Compression:
Stored size: 525 Bytes
Contents
/** * A specialized version of `_.forEachRight` for arrays without support for * callback shorthands and `this` binding. * * @private * @param {Array} array The array to iterate over. * @param {Function} iteratee The function invoked per iteration. * @returns {Array} Returns `array`. */ function arrayEachRight(array, iteratee) { var length = array.length; while (length--) { if (iteratee(array[length], length, array) === false) { break; } } return array; } module.exports = arrayEachRight;
Version data entries
153 entries across 80 versions & 8 rubygems