MCPcopy Index your code
hub / github.com/redis/node-redis / has

Function has

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

Source from the content-addressed store, hash-verified

810 }
811
812 override has(cacheKey: string): boolean {
813 if (this.#disabled) {
814 return false;
815 }
816
817 return super.has(cacheKey);
818 }
819
820 onPoolClose(): void {
821 this.clear();

Callers

nothing calls this directly

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected