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