Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WebReflection/weak-value
/ has
Method
has
cjs/index.js:64–66 ·
view source on GitHub ↗
(key)
Source
from the content-addressed store, hash-verified
62
}
63
64
has(key) {
65
return
!!this.get(key);
66
}
67
68
set(key, value, onValueCollected = noop) {
69
super.delete(key);
Callers
nothing calls this directly
Calls
1
get
Method · 0.95
Tested by
no test coverage detected