MCPcopy
hub / github.com/Effect-TS/effect / [Hash.symbol]

Function [Hash.symbol]

packages/effect/src/Chunk.ts:144–146  ·  view source on GitHub ↗
(this: Chunk<A>)

Source from the content-addressed store, hash-verified

142 return isChunk(that) && _equivalence(this, that)
143 },
144 [Hash.symbol]<A>(this: Chunk<A>): number {
145 return Hash.cached(this, Hash.array(toReadonlyArray(this)))
146 },
147 [Symbol.iterator]<A>(this: Chunk<A>): Iterator<A> {
148 switch (this.backing._tag) {
149 case "IArray": {

Callers

nothing calls this directly

Calls 3

toReadonlyArrayFunction · 0.85
cachedMethod · 0.80
arrayMethod · 0.80

Tested by

no test coverage detected