Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
get
Method · 0.45
memoize
Function · 0.45
KruskalMST
Method · 0.45
breadthFirstSearch
Function · 0.45
DFSIterative
Method · 0.45
DFSRecursive
Method · 0.45
DFSComponent
Method · 0.45
connectedComponents
Method · 0.45
nodeNeighbors
Method · 0.45
dfsTopoSort
Method · 0.45
topoSort
Method · 0.45
dfsKosaraju
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected