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