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

Method constructor

packages/effect/test/HashMap.test.ts:448–448  ·  view source on GitHub ↗
(readonly name: string, readonly age: number)

Source from the content-addressed store, hash-verified

446 describe("custom hash with Equal objects", () => {
447 class Person implements Equal.Equal {
448 constructor(readonly name: string, readonly age: number) {}
449
450 [Equal.symbol](that: Equal.Equal): boolean {
451 return that instanceof Person &&

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected