left()
left<
E,A>(e):TaskEither<E,A>
Creates a TaskEither that resolves to a Left.
Type Parametersβ
E: E = neverβ
The error type.
A: A = neverβ
The success type.
Parametersβ
e: Eβ
The error value.
Returns: TaskEither<E, A>β
A TaskEither containing the Left.
Sinceβ
2.0.0