• Type guard that checks if an either is Right<A>.

    Type Parameters

    • E
    • A

    Parameters

    • either: Either<E, A>

      The Either to check

    Returns either is Readonly<{ isRight: true; right: A }>

    true if the Either is Right<A>, false if it is Left<E>