MCPcopy Create free account
hub / github.com/Exrick/xpay / arrayEach

Function arrayEach

xpay-code/src/main/resources/static/swagger/swagger-ui.js:14616–14626  ·  view source on GitHub ↗

* A specialized version of `_.forEach` 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`.

(array, iteratee)

Source from the content-addressed store, hash-verified

14614 * @returns {Array} Returns `array`.
14615 */
14616function arrayEach(array, iteratee) {
14617 var index = -1,
14618 length = array.length;
14619
14620 while (++index < length) {
14621 if (iteratee(array[index], index, array) === false) {
14622 break;
14623 }
14624 }
14625 return array;
14626}
14627
14628module.exports = arrayEach;
14629

Callers 1

swagger-ui.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected