containsAny method
Returns true if this set contains any element from other
.
Example:
final set = {1, 2, 3, 4};
print(set.containsAny({3, 5})); // true
print(set.containsAny({6, 7})); // false
Implementation
bool containsAny(Iterable<E> other) {
return other.any(contains);
}