effect-io-ai

Package: effect
Module: Chunk

Chunk.partitionMap

Partitions the elements of this chunk into two chunks using f.

Signature

declare const partitionMap: { <A, B, C>(f: (a: A) => Either<C, B>): (self: Chunk<A>) => [left: Chunk<B>, right: Chunk<C>]; <A, B, C>(self: Chunk<A>, f: (a: A) => Either<C, B>): [left: Chunk<B>, right: Chunk<C>]; }

Source

Since v2.0.0