fromPredicate<A> function
Implementation
TaskOption<A> fromPredicate<A>(
A value,
bool Function(A value) predicate,
) =>
TaskOption(T.value(O.fromPredicate(value, predicate)));
TaskOption<A> fromPredicate<A>(
A value,
bool Function(A value) predicate,
) =>
TaskOption(T.value(O.fromPredicate(value, predicate)));