containsAny method

bool containsAny(
  1. Iterable<E> other
)

Returns true if this set contains any element from other.

Implementation

bool containsAny(Iterable<E> other) {
  return other.any(contains);
}