MCPcopy
hub / github.com/redis/node-redis / has

Method has

packages/client/lib/client/cache.ts:704–706  ·  view source on GitHub ↗
(cacheKey: string)

Source from the content-addressed store, hash-verified

702 }
703
704 has(cacheKey: string) {
705 return this.#cacheKeyToEntryMap.has(cacheKey);
706 }
707
708 set(cacheKey: string, cacheEntry: ClientSideCacheEntry, keys: Array<RedisArgument>) {
709 let count = this.#cacheKeyToEntryMap.size;

Callers 15

addScriptMethod · 0.80
makeCircularReplacerFunction · 0.80
setMethod · 0.80
hasFunction · 0.80
unsubscribeMethod · 0.80
listenerFunction · 0.80
getMapValueFunction · 0.80
transformReplyFunction · 0.80
analyzeMethod · 0.80
transformMethod · 0.80

Calls

no outgoing calls

Tested by 1

listenerFunction · 0.64