containsAny method

bool containsAny(
  1. Iterable<E> other
)

Checks whether any element of this iterable is in other iterable.

Implementation

bool containsAny(Iterable<E> other) {
  if (identical(other, this)) return true;
  return any(other.contains);
}