MCPcopy
hub / github.com/supermemoryai/supermemory / has

Method has

packages/tools/src/shared/cache.ts:57–59  ·  view source on GitHub ↗

* Checks if a key exists in the cache. * * @param key - The cache key * @returns True if the key exists

(key: string)

Source from the content-addressed store, hash-verified

55 * @returns True if the key exists
56 */
57 has(key: string): boolean {
58 return this.cache.has(key)
59 }
60
61 /**
62 * Clears all cached values.

Callers 15

deduplicateMemoriesFunction · 0.80
api.tsFile · 0.80
MemoryGraphFunction · 0.80
graph-canvas.tsxFile · 0.80
getChainMethod · 0.80
ensureAdjacencyFunction · 0.80
computeEdgesFunction · 0.80
useGraphDataFunction · 0.80
computeEdgesFunction · 0.80
mcpComputeLinksFunction · 0.80

Calls

no outgoing calls

Tested by 3

computeEdgesFunction · 0.64
mcpComputeLinksFunction · 0.64
mcpComputeLinks_BUGGYFunction · 0.64