any method

bool any(
  1. Query4UntilCallback<A, B, C, D> predicate
)

Implementation

bool any(Query4UntilCallback<A, B, C, D> predicate) {
  var found = false;
  eachUntil((entity, a, b, c, d) {
    if (predicate(entity, a, b, c, d)) {
      found = true;
      return false;
    }
    return true;
  });
  return found;
}