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