MCPcopy Create free account
hub / github.com/Effect-TS/effect / unzip

Function unzip

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

Source from the content-addressed store, hash-verified

2250 * @since 2.0.0
2251 */
2252export const unzip = <A, B>(self: Chunk<readonly [A, B]>): [Chunk<A>, Chunk<B>] => {
2253 const [left, right] = RA.unzip(self)
2254 return [fromArrayUnsafe(left), fromArrayUnsafe(right)]
2255}
2256
2257/**
2258 * Zips this chunk pointwise with the specified chunk using the specified combiner.

Callers

nothing calls this directly

Calls 1

fromArrayUnsafeFunction · 0.85

Tested by

no test coverage detected