isLoading<L, R> function

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

Implementation

bool isLoading<L, R>(TaskEitherValue<L, R> tev) =>
    tev.p(Ei.fold((_) => false, (t) => t.second));