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

Function eq

packages/effect/test/Chunk.test.ts:861–861  ·  view source on GitHub ↗
(a: E, b: E)

Source from the content-addressed store, hash-verified

859
860 it("differenceWith", () => {
861 const eq = <E extends { id: number }>(a: E, b: E) => a.id === b.id
862 const differenceWith = pipe(eq, Chunk.differenceWith)
863
864 const chunk = Chunk.make({ id: 1 }, { id: 2 }, { id: 3 })

Callers 3

Newtype.test.tsFile · 0.85
Array.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected