t-tasks
    Preparing search index...

    Function isLeft

    • Standalone type guard for 'left'

      Useful for passing as a predicate to collection transformers

      Type Parameters

      • R

        underlying value type

      • L

        underlying error type

      Parameters

      Returns either is Left<never, L>

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