map()
map<
A,B>(f): <E>(fa) =>TaskEither<E,B>
Maps a function over the Right value.
Type Parametersβ
A: Aβ
The input type.
B: Bβ
The output type.
Parametersβ
f: (a) => Bβ
The mapping function.
Returns: <E>(fa): TaskEither<E, B>β
A function that transforms the TaskEither.
Sinceβ
2.0.0