MCPcopy Index your code
hub / github.com/deployd/deployd / cacheHas

Function cacheHas

test-app/public/sinon.js:11658–11660  ·  view source on GitHub ↗

* Checks if a `cache` value for `key` exists. * * @private * @param {Object} cache The cache to query. * @param {string} key The key of the entry to check. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.

(cache, key)

Source from the content-addressed store, hash-verified

11656 * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
11657 */
11658 function cacheHas(cache, key) {
11659 return cache.has(key);
11660 }
11661
11662 /**
11663 * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol

Callers 2

baseIntersectionFunction · 0.85
equalArraysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected