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

Method constructor

packages/effect/test/HashMap.test.ts:602–602  ·  view source on GitHub ↗
(readonly id: number)

Source from the content-addressed store, hash-verified

600 // Create objects with same hash but different equality
601 class CollidingKey implements Equal.Equal {
602 constructor(readonly id: number) {}
603
604 [Equal.symbol](that: Equal.Equal): boolean {
605 return that instanceof CollidingKey && this.id === that.id

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected