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

Method get

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

Source from the content-addressed store, hash-verified

647 }
648
649 get(shift: number, hash: number, key: K): Option.Option<V> {
650 const idx = mask(hash, shift)
651 const child = this.children[idx]
652 return child ? child.get(shift + SHIFT, hash, key) : Option.none()
653 }
654
655 has(shift: number, hash: number, key: K): boolean {
656 const idx = mask(hash, shift)

Callers

nothing calls this directly

Calls 2

maskFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected