any method

  1. @override
bool any(
  1. bool predicate(
    1. R r
    )
)

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);