mapLeft()
mapLeft<
E,G>(f): <A>(fa) =>TaskEither<G,A>
Maps a function over the Left value.
Type Parametersβ
E: Eβ
The original error type.
G: G extends ErrorTypeβ
The new error type.
Parametersβ
f: (e) => Gβ
The mapping function.
Returns: <A>(fa): TaskEither<G, A>β
A function that transforms the TaskEither.
Sinceβ
2.0.0