MCPcopy Create free account
hub / github.com/cnodejs/egg-cnode / createCache

Function createCache

app/public/libs/lodash.compat.js:318–341  ·  view source on GitHub ↗

* Creates a cache object to optimize linear searches of large arrays. * * @private * @param {Array} [array=[]] The array to search. * @returns {null|Object} Returns the cache object or `null` if caching should not be used.

(array)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

baseDifferenceFunction · 0.70
baseUniqFunction · 0.70
intersectionFunction · 0.70

Calls 1

getObjectFunction · 0.85

Tested by

no test coverage detected