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