MCPcopy Index your code
hub / github.com/microsoft/SandDance / intern_delete

Function intern_delete

docs/app/js/sanddance-app.js:110732–110739  ·  view source on GitHub ↗
({ _intern , _key  }, value)

Source from the content-addressed store, hash-verified

110730 return value;
110731}
110732function intern_delete({ _intern , _key }, value) {
110733 const key = _key(value);
110734 if (_intern.has(key)) {
110735 value = _intern.get(value);
110736 _intern.delete(key);
110737 }
110738 return value;
110739}
110740function keyof(value) {
110741 return value !== null && typeof value === "object" ? value.valueOf() : value;
110742}

Callers 2

deleteMethod · 0.70
deleteMethod · 0.70

Calls 3

hasMethod · 0.45
getMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected