containsAny method

bool containsAny(
  1. Iterable<T>? toCompare
)

Implementation

bool containsAny(Iterable<T>? toCompare) {
  return toCompare?.any((item) {
        return this?.contains(item) == true;
      }) ??
      false;
}