Function isLeft

  • Standalone type guard for 'left'

    Userful for passing as a predicate to collection transformers

    Type Parameters

    • R

      underlying value type

    • L

    Parameters

    Returns either is Left<never, L>

    'true' in case argument is 'left error' (and resolves type to be 'left')

Generated using TypeDoc