MCPcopy
hub / github.com/TheAlgorithms/JavaScript / has

Method has

Cache/LRUCache.js:66–70  ·  view source on GitHub ↗

* @param {string} key * @returns {*}

(key)

Source from the content-addressed store, hash-verified

64 * @returns {*}
65 */
66 has(key) {
67 key = String(key)
68
69 return this.cache.has(key)
70 }
71
72 /**
73 * @param {string} key

Callers 15

getMethod · 0.45
memoizeFunction · 0.45
KruskalMSTMethod · 0.45
breadthFirstSearchFunction · 0.45
DFSIterativeMethod · 0.45
DFSRecursiveMethod · 0.45
DFSComponentMethod · 0.45
connectedComponentsMethod · 0.45
nodeNeighborsMethod · 0.45
dfsTopoSortMethod · 0.45
topoSortMethod · 0.45
dfsKosarajuMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected