MCPcopy Index your code
hub / github.com/Effect-TS/effect / make

Function make

packages/effect/src/Equivalence.ts:31–32  ·  view source on GitHub ↗
(isEquivalent: (self: A, that: A) => boolean)

Source from the content-addressed store, hash-verified

29 * @since 2.0.0
30 */
31export const make = <A>(isEquivalent: (self: A, that: A) => boolean): Equivalence<A> => (self: A, that: A): boolean =>
32 self === that || isEquivalent(self, that)
33
34const isStrictEquivalent = (x: unknown, y: unknown) => x === y
35

Callers 5

Equivalence.tsFile · 0.70
allFunction · 0.70
productManyFunction · 0.70
arrayFunction · 0.70
structFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected