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

Function partition

packages/effect-app/src/Set.ts:279–283  ·  view source on GitHub ↗
(
  predicate: Predicate<A>
)

Source from the content-addressed store, hash-verified

277 predicate: Predicate<A>
278): (set: Set<A>) => readonly [Set<A>, Set<A>]
279export function partition<A>(
280 predicate: Predicate<A>
281): (set: Set<A>) => readonly [Set<A>, Set<A>] {
282 return (set) => partition_(set, predicate)
283}
284
285/**
286 * Partition set values using predicate

Callers 3

Array.tsFile · 0.85
Record.tsFile · 0.85
effect.tsFile · 0.85

Calls 1

partition_Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…