MCPcopy Create free account
hub / github.com/effect-app/libs / isSubset

Function isSubset

packages/effect-app/src/Set.ts:225–228  ·  view source on GitHub ↗
(E: Equivalence.Equivalence<A>)

Source from the content-addressed store, hash-verified

223 * `true` if and only if every element in the first set is an element of the second set
224 */
225export function isSubset<A>(E: Equivalence.Equivalence<A>): (x: Set<A>, y: Set<A>) => boolean {
226 const i = isSubset_(E)
227 return (x, y) => i(y, x)
228}
229
230/**
231 * `true` if and only if every element in the first set is an element of the second set

Callers

nothing calls this directly

Calls 1

isSubset_Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…