MCPcopy
hub / github.com/vercel/hyper / getIteratee

Function getIteratee

bin/yarn-standalone.js:13665–13669  ·  view source on GitHub ↗

* Gets the appropriate "iteratee" function. If `_.iteratee` is customized, * this function returns the custom method, otherwise it returns `baseIteratee`. * If arguments are provided, the chosen function is invoked with them and * its result is returned. * * @private *

()

Source from the content-addressed store, hash-verified

13663 * @returns {Function} Returns the chosen function or its result.
13664 */
13665 function getIteratee() {
13666 var result = lodash.iteratee || iteratee;
13667 result = result === iteratee ? baseIteratee : result;
13668 return arguments.length ? result(arguments[0], arguments[1]) : result;
13669 }
13670
13671 /**
13672 * Gets the data for `map`.

Callers 15

baseOrderByFunction · 0.85
createAggregatorFunction · 0.85
createFindFunction · 0.85
createOverFunction · 0.85
yarn-standalone.jsFile · 0.85
dropRightWhileFunction · 0.85
dropWhileFunction · 0.85
findIndexFunction · 0.85
findLastIndexFunction · 0.85
pullAllByFunction · 0.85
removeFunction · 0.85
sortedIndexByFunction · 0.85

Calls 1

resultFunction · 0.85

Tested by

no test coverage detected