Function isLeft

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

    Type Parameters

    • L extends NonUndefined
    • R extends NonUndefined

    Parameters

    Returns val is LeftEither<L, R>

    Use Either.isLeft instead.