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