MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / callback

Function callback

lib/web/jshint.js:12496–12501  ·  view source on GitHub ↗

* Creates a function that invokes `func` with the `this` binding of `thisArg` * and arguments of the created function. If `func` is a property name the * created callback returns the property value for a given element. If `func` * is an object the created callback returns `true` for e

(func, thisArg, guard)

Source from the content-addressed store, hash-verified

12494 * // => [{ 'user': 'fred', 'age': 40 }]
12495 */
12496 function callback(func, thisArg, guard) {
12497 if (guard && isIterateeCall(func, thisArg, guard)) {
12498 thisArg = null;
12499 }
12500 return baseCallback(func, thisArg);
12501 }
12502
12503 /**
12504 * Creates a function that returns `value`.

Callers 4

baseSortByOrderFunction · 0.70
createCompounderFunction · 0.70
AFunction · 0.70
preamble.jsFile · 0.70

Calls 2

isIterateeCallFunction · 0.85
baseCallbackFunction · 0.85

Tested by

no test coverage detected