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

Method size

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

Source from the content-addressed store, hash-verified

440 }
441
442 get size(): number {
443 if (this._size === undefined) {
444 this._size = this.children.reduce((acc, child) => acc + child.size, 0)
445 }
446 return this._size
447 }
448
449 get(shift: number, hash: number, key: K): Option.Option<V> {
450 const bit = bitpos(hash, shift)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected