MCPcopy Create free account
hub / github.com/curran/screencasts / createAggregator

Function createAggregator

introToChiasm/examples/code/snapshot15/main-build.js:3141–3161  ·  view source on GitHub ↗

* Creates a `_.countBy`, `_.groupBy`, `_.indexBy`, or `_.partition` function. * * @private * @param {Function} setter The function to set keys and values of the accumulator object. * @param {Function} [initializer] The function to initialize the accumulator object. * @return

(setter, initializer)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runInContextFunction · 0.70

Calls 3

getCallbackFunction · 0.70
isArrayFunction · 0.50
setterFunction · 0.50

Tested by

no test coverage detected