map
map<
E,A,B>(f): (outcome) =>Outcome<E,B>
Defined in: Core/Op.ts:615
Transforms the success value. Err and Nil pass through unchanged.
Type Parameters
Section titled “Type Parameters”E
A
B
Parameters
Section titled “Parameters”(a) => B
Returns
Section titled “Returns”(
outcome):Outcome<E,B>
Parameters
Section titled “Parameters”outcome
Section titled “outcome”Outcome<E, A>
Returns
Section titled “Returns”Outcome<E, B>