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

Method constructor

packages/effect/test/Equal.test.ts:1104–1104  ·  view source on GitHub ↗
(readonly value: string, public child: CircularEqualTest | null = null)

Source from the content-addressed store, hash-verified

1102 it("should handle circular references in Equal implementations without infinite recursion", () => {
1103 class CircularEqualTest implements Equal.Equal {
1104 constructor(readonly value: string, public child: CircularEqualTest | null = null) {}
1105
1106 [Equal.symbol](that: Equal.Equal): boolean {
1107 if (!(that instanceof CircularEqualTest)) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected