MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / partial

Function partial

MathBox/mathbox-bundle.js:40764–40766  ·  view source on GitHub ↗

* Creates a function that, when called, invokes `func` with any additional * `partial` arguments prepended to those provided to the new function. This * method is similar to `_.bind` except it does **not** alter the `this` binding. * * @static * @memberOf _ * @category

(func)

Source from the content-addressed store, hash-verified

40762 * // => 'hi fred'
40763 */
40764 function partial(func) {
40765 return createWrapper(func, 16, slice(arguments, 1));
40766 }
40767
40768 /**
40769 * This method is like `_.partial` except that `partial` arguments are

Callers

nothing calls this directly

Calls 2

createWrapperFunction · 0.85
sliceFunction · 0.85

Tested by

no test coverage detected