MCPcopy Index your code
hub / github.com/deployd/deployd / forEach

Function forEach

test-app/public/sinon.js:19967–19970  ·  view source on GitHub ↗

* Iterates over elements of `collection` and invokes `iteratee` for each element. * The iteratee is invoked with three arguments: (value, index|key, collection). * Iteratee functions may exit iteration early by explicitly returning `false`. * * **Note:** As with o

(collection, iteratee)

Source from the content-addressed store, hash-verified

19965 * // => Logs 'a' then 'b' (iteration order is not guaranteed).
19966 */
19967 function forEach(collection, iteratee) {
19968 var func = isArray(collection) ? arrayEach : baseEach;
19969 return func(collection, getIteratee(iteratee, 3));
19970 }
19971
19972 /**
19973 * This method is like `_.forEach` except that it iterates over elements of

Callers 10

verifyIsStubFunction · 0.85
sinon.jsFile · 0.85
createSandboxFunction · 0.85
cleanProxyFunction · 0.85
eachFunction · 0.85
applyOnEachFunction · 0.85
SandboxFunction · 0.85
verifyNotReplacedFunction · 0.85
spyFunction · 0.85
walkInternalFunction · 0.85

Calls 2

getIterateeFunction · 0.85
isArrayFunction · 0.70

Tested by

no test coverage detected