MCPcopy Create free account
hub / github.com/WebReflection/weak-value / has

Method has

esm/index.js:63–65  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

61 }
62
63 has(key) {
64 return !!this.get(key);
65 }
66
67 set(key, value, onValueCollected = noop) {
68 super.delete(key);

Callers 1

index.jsFile · 0.45

Calls 1

getMethod · 0.95

Tested by

no test coverage detected