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

Method delete

cjs/index.js:49–52  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

47 }
48
49 delete(key) {
50 const pair = super.get(key);
51 return !!pair && !this.#delete(key, pair[0]);
52 }
53
54 forEach(callback, context) {
55 for (const [key, value] of this)

Callers 2

WeakValueClass · 0.45
setMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected