containsAny method

bool containsAny(
  1. List<D> ids
)

Returns true if any of the provided ids exist in this collection.

Implementation

bool containsAny(List<D> ids) {
  for (var id in ids) {
    var idx = binarySearchIndex(id);
    if (idx >= 0) return true;
  }

  return false;
}