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

Function makeCompareSet

packages/effect/src/Equal.ts:398–402  ·  view source on GitHub ↗
(equivalence: Equivalence<A>)

Source from the content-addressed store, hash-verified

396
397/** @internal */
398export function makeCompareSet<A>(equivalence: Equivalence<A>) {
399 return function compareSets(self: Iterable<A>, that: Iterable<A>): boolean {
400 return compareHashed(self, that, sameGroup, equivalence)
401 }
402}
403
404/**
405 * Checks whether a value implements the {@link Equal} interface.

Callers 1

makeCompareMapFunction · 0.85

Calls 1

compareHashedFunction · 0.85

Tested by

no test coverage detected