MCPcopy Create free account
hub / github.com/Effect-TS/effect / has

Method has

packages/effect/src/internal/hashMap.ts:655–659  ·  view source on GitHub ↗
(shift: number, hash: number, key: K)

Source from the content-addressed store, hash-verified

653 }
654
655 has(shift: number, hash: number, key: K): boolean {
656 const idx = mask(hash, shift)
657 const child = this.children[idx]
658 return child ? child.has(shift + SHIFT, hash, key) : false
659 }
660
661 set(
662 edit: number,

Callers

nothing calls this directly

Calls 2

maskFunction · 0.85
hasMethod · 0.45

Tested by

no test coverage detected