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

Function separate

repos/effect/packages/effect/src/Chunk.ts:1832–1836  ·  view source on GitHub ↗
(self: Chunk<Result<B, A>>)

Source from the content-addressed store, hash-verified

1830 */
1831export const size = <A>(self: Chunk<A>): number => self.length
1832
1833/**
1834 * Sorts the elements of a `Chunk` in increasing order, creating a new `Chunk`.
1835 *
1836 * **Example** (Sorting chunks)
1837 *
1838 * ```ts import.meta.vitest
1839 * import { Chunk, Order } from "effect"

Callers

nothing calls this directly

Calls 2

pipeFunction · 0.90
fromArrayUnsafeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…