any method
- bool predicate(
- R a
override
Return the result of predicate
applied to the value of Right.
If the Either is Left, returns false
.
Implementation
@override
bool any(bool Function(R a) predicate) => foldMap(boolOrMonoid(), predicate);