Function isRight

  • Standalone type guard for 'right'

    Userful for passing as a predicate to collection transformers

    Type Parameters

    • R

      underlying value type

    • L

    Parameters

    Returns either is Right<R, never>

    'true' in case argument is 'right value' (and resolves type to be 'right')

Generated using TypeDoc