isRight<A>(ma): ma is Right<A>
Type guard that checks if an Either is a Right.
Type Parameters
A: A
The success type.
Parameters
ma: Either<unknown, A>
The Either to check.
Returns: ma is Right<A>
True if the Either is a Right.
Since
2.0.0