MCPcopy Create free account
hub / github.com/TruthHun/BookStack / cb

Function cb

static/word2md/mammoth.browser.js:27943–27948  ·  view source on GitHub ↗
(value, context, argCount)

Source from the content-addressed store, hash-verified

27941 // to each element in a collection, returning the desired result — either
27942 // identity, an arbitrary callback, a property matcher, or a property accessor.
27943 var cb = function(value, context, argCount) {
27944 if (value == null) return _.identity;
27945 if (_.isFunction(value)) return optimizeCb(value, context, argCount);
27946 if (_.isObject(value)) return _.matcher(value);
27947 return _.property(value);
27948 };
27949 _.iteratee = function(value, context) {
27950 return cb(value, context, Infinity);
27951 };

Callers 14

mammoth.browser.jsFile · 0.70
afterTransformFunction · 0.70
onwriteErrorFunction · 0.70
afterWriteFunction · 0.70
CorkedRequestFunction · 0.70
groupFunction · 0.70
webuploader.fis.jsFile · 0.50
webuploader.jsFile · 0.50

Calls 1

optimizeCbFunction · 0.70

Tested by

no test coverage detected