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

Method constructor

packages/effect/test/Equal.test.ts:341–341  ·  view source on GitHub ↗
(readonly x: number, readonly y: number)

Source from the content-addressed store, hash-verified

339 describe("custom Equal implementations", () => {
340 class CustomPoint implements Equal.Equal {
341 constructor(readonly x: number, readonly y: number) {}
342
343 [Equal.symbol](that: Equal.Equal): boolean {
344 return that instanceof CustomPoint &&

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected