MCPcopy
hub / github.com/jashkenas/underscore / cb

Function cb

underscore.js:784–787  ·  view source on GitHub ↗
(value, context, argCount)

Source from the content-addressed store, hash-verified

782 // The function we call internally to generate a callback. It invokes
783 // `_.iteratee` if overridden, otherwise `baseIteratee`.
784 function cb(value, context, argCount) {
785 if (_$1.iteratee !== iteratee) return _$1.iteratee(value, context);
786 return baseIteratee(value, context, argCount);
787 }
788
789 // Returns the results of applying the `iteratee` to each element of `obj`.
790 // In contrast to `_.map` it returns an object.

Callers 15

mapObjectFunction · 0.70
findKeyFunction · 0.70
sortedIndexFunction · 0.70
mapFunction · 0.70
filterFunction · 0.70
rejectFunction · 0.70
everyFunction · 0.70
someFunction · 0.70
maxFunction · 0.70
minFunction · 0.70
sortByFunction · 0.70

Calls 1

baseIterateeFunction · 0.70

Tested by

no test coverage detected