map
map<
A,B>(f): <E>(data) =>These<E,B>
Defined in: Core/These.ts:99
Transforms the success value, leaving the error unchanged.
Type Parameters
Section titled “Type Parameters”A
B
Parameters
Section titled “Parameters”(a) => B
Returns
Section titled “Returns”<
E>(data):These<E,B>
Type Parameters
Section titled “Type Parameters”E
Parameters
Section titled “Parameters”These<E, A>
Returns
Section titled “Returns”These<E, B>