Sha256: 3410df94969c310f7e3146d694e40d7d2ea20ed85f508057a8398bb870906f7d
Contents?: true
Size: 528 Bytes
Versions: 273
Compression:
Stored size: 528 Bytes
Contents
/** * A specialized version of `_.forEachRight` for arrays without support for * iteratee shorthands. * * @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 == null ? 0 : array.length; while (length--) { if (iteratee(array[length], length, array) === false) { break; } } return array; } module.exports = arrayEachRight;
Version data entries
273 entries across 271 versions & 29 rubygems