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

Function createWrapper

introToChiasm/examples/code/latest/main-build.js:4268–4306  ·  view source on GitHub ↗

* Creates a function that either curries or invokes `func` with optional * `this` binding and partially applied arguments. * * @private * @param {Function|string} func The function or method name to reference. * @param {number} bitmask The bitmask of flags. * The bitma

(func, bitmask, thisArg, partials, holders, argPos, ary, arity)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

curryFuncFunction · 0.70
createPartialFunction · 0.70
aryFunction · 0.70
runInContextFunction · 0.70
wrapFunction · 0.70

Calls 4

mergeDataFunction · 0.70
createBindWrapperFunction · 0.70
getDataFunction · 0.50
setterFunction · 0.50

Tested by

no test coverage detected