any method

view source

bool any (bool test(List<T> element)) inherited

Implementation

bool any(bool test(E element)) {
  for (E element in this) {
    if (test(element)) return true;
  }
  return false;
}