isLoadingOrNone<L, R> function

bool isLoadingOrNone<L, R>(
  1. TaskEitherValue<L, R> tev
)

Implementation

bool isLoadingOrNone<L, R>(TaskEitherValue<L, R> tev) =>
    tev.p(Ei.fold((_) => false, (t) => t.second || O.isNone(t.first)));