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

Method delete

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

Source from the content-addressed store, hash-verified

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

Callers 3

WeakValueClass · 0.45
setMethod · 0.45
index.jsFile · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected