any method
Returns false
if isError
or returns the result of the application of
Implementation
// the given predicate to the [value] value.
bool any(bool Function(V) predicate) {
if (isValue) {
return predicate(asValue!.value);
} else {
return false;
}
}