bimap
bimap<
E,F,A,B>(onErr,onOk): (data) =>These<F,B>
Defined in: Core/These.ts:132
Transforms both the error and success values independently.
Type Parameters
Section titled “Type Parameters”E
F
A
B
Parameters
Section titled “Parameters”(e) => F
(a) => B
Returns
Section titled “Returns”(
data):These<F,B>
Parameters
Section titled “Parameters”These<E, A>
Returns
Section titled “Returns”These<F, B>