all method

bool all(
  1. bool predicate(
    1. T
    )
)

Returns true if all elements match the given predicate.

Implementation

bool all(bool Function(T) predicate) => every(predicate);