containsAny method

bool containsAny(
  1. Iterable<T> otherList
)

Implementation

bool containsAny(Iterable<T> otherList) {
  for (final element in otherList) {
    if (contains(element)) {
      return true;
    }
  }
  return false;
}