MCPcopy Index your code
hub / github.com/ampproject/amphtml / has

Method has

src/core/data-structures/lru-cache.js:33–35  ·  view source on GitHub ↗

* Returns whether key is cached. * * @param {number|string} key * @return {boolean}

(key)

Source from the content-addressed store, hash-verified

31 * @return {boolean}
32 */
33 has(key) {
34 return !!this.cache_[key];
35 }
36
37 /**
38 * @param {number|string} key

Callers 5

putMethod · 0.95
processEntriesFunction · 0.45
ioCallbackFunction · 0.45
getInObFunction · 0.45
getInObFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected