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

Function cb

underscore-node-f.cjs:777–780  ·  view source on GitHub ↗
(value, context, argCount)

Source from the content-addressed store, hash-verified

775// The function we call internally to generate a callback. It invokes
776// `_.iteratee` if overridden, otherwise `baseIteratee`.
777function cb(value, context, argCount) {
778 if (_$1.iteratee !== iteratee) return _$1.iteratee(value, context);
779 return baseIteratee(value, context, argCount);
780}
781
782// Returns the results of applying the `iteratee` to each element of `obj`.
783// In contrast to `_.map` it returns an object.

Callers 14

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