anyMatch abstract method

bool anyMatch(
  1. bool predicate(
    1. double
    )
)

Returns true if any element matches the predicate.

Example

final hasLarge = DoubleStream.of([1.5, 2.5, 3.5])
    .anyMatch((d) => d > 3.0); // true

Implementation

bool anyMatch(bool Function(double) predicate);