all method

  1. @override
bool all(
  1. bool predicate(
    1. R a
    )
)
override

Return the result of predicate applied to the value of Right. If the Either is Left, returns true.

Implementation

@override
bool all(bool Function(R a) predicate) => foldMap(boolAndMonoid(), predicate);