right()
right<
E,A>(a):Either<E,A>
Creates a Right Either containing a success value.
Type Parametersโ
E: E = neverโ
The error type.
A: A = neverโ
The success type.
Parametersโ
a: Aโ
The success value.
Returns: Either<E, A>โ
A Right Either.
Sinceโ
2.0.0
Right<A>โ
Represents the Right variant of Either containing a success value.
Sinceโ
2.0.0
Type Parametersโ
A: Aโ
The success type.
Propertiesโ
_tag: > readonly *\_tag*: "Right"โ
rightโ
readonlyright:A