MCPcopy Index your code
hub / github.com/Effect-TS/effect / unzip

Function unzip

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

Source from the content-addressed store, hash-verified

1195 * @category elements
1196 */
1197export const unzip = <A, B>(self: Chunk<readonly [A, B]>): [Chunk<A>, Chunk<B>] => {
1198 const [left, right] = RA.unzip(self)
1199 return [unsafeFromArray(left), unsafeFromArray(right)]
1200}
1201
1202/**
1203 * Zips this chunk pointwise with the specified chunk using the specified combiner.

Callers

nothing calls this directly

Calls 1

unsafeFromArrayFunction · 0.85

Tested by

no test coverage detected