left()
left<
E,A>(e):Either<E,A>
Creates a Left Either containing an error value.
Type Parameters
E: E = never
The error type.
A: A = never
The success type.
Parameters
e: E
The error value.
Returns: Either<E, A>
A Left Either.
Since
2.0.0
Left<E>
Represents the Left variant of Either containing an error value.
Since
2.0.0
Type Parameters
E: E
The error type.
Properties
_tag: > readonly *\_tag*: "Left"
left
readonlyleft:E