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

Method size

packages/effect/src/internal/hashMap.ts:642–647  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

640 }
641
642 get size(): number {
643 if (this._size === undefined) {
644 this._size = this.children.reduce<number>((acc, child) => acc + (child?.size ?? 0), 0)
645 }
646 return this._size
647 }
648
649 get(shift: number, hash: number, key: K): Option.Option<V> {
650 const idx = mask(hash, shift)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected