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

Function elem

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

Source from the content-addressed store, hash-verified

331 * Test if a value is a member of a set
332 */
333export function elem<A>(E: Equivalence.Equivalence<A>): (a: A) => (set: Set<A>) => boolean {
334 const e = elem_(E)
335 return (a) => (set) => e(set, a)
336}
337
338/**
339 * Partition elements according to f

Callers

nothing calls this directly

Calls 1

elem_Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…