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

Function cacheIndexOf

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

* An implementation of `_.contains` for cache objects that mimics the return * signature of `_.indexOf` by returning `0` if the value is found, else `-1`. * * @private * @param {Object} cache The cache object to inspect. * @param {*} value The value to search for. * @returns {numbe

(cache, value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

intersectionFunction · 0.85

Calls 1

baseIndexOfFunction · 0.85

Tested by

no test coverage detected