partitionMap
partitionMap<
A,E,B>(f): (data) => readonly [readonlyE[], readonlyB[]]
Defined in: Data/Arr.ts:260
Maps each element to a Result, and separates the results into a tuple of failures and successes.
Type Parameters
Section titled “Type Parameters”A
E
B
Parameters
Section titled “Parameters”(a) => Result<E, B>
Returns
Section titled “Returns”(data) => readonly [readonly E[], readonly B[]]