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

Function unzip

repos/effect/packages/effect/src/Chunk.ts:2317–2320  ·  view source on GitHub ↗
(self: Chunk<readonly [A, B]>)

Source from the content-addressed store, hash-verified

2315 * ```ts import.meta.vitest
2316 * import { Chunk } from "effect"
2317 *
2318 * const numbers = Chunk.make(1, 2, 3)
2319 * const letters = Chunk.make("a", "b", "c")
2320 * Chunk.toArray(Chunk.zip(numbers, letters)) // => [[1, "a"], [2, "b"], [3, "c"]]
2321 *
2322 * // Different lengths - takes minimum length
2323 * const short = Chunk.make(1, 2)

Callers

nothing calls this directly

Calls 1

fromArrayUnsafeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…