Function isRight

  • Type guard for checking if an Either is a Right.

    Type Parameters

    • L extends NonUndefined
    • R extends NonUndefined

    Parameters

    Returns val is RightEither<L, R>

    Use Either.isRight instead.