MCPcopy Create free account
hub / github.com/epicweb-dev/remember / forget

Function forget

index.js:27–31  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

25 * @return {boolean} - A remembered value existed and has been forgotten.
26 */
27export function forget(name) {
28 const thusly = globalThis
29 thusly.__remember_epic_web ??= new Map()
30 return thusly.__remember_epic_web.delete(name)
31}

Callers 1

index.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected