Aller au contenu principal

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