Not method

Q Not()

Query-like Opens a new negated filter group.

Filters added after Not must all fail for an entity to pass this group. Typically used as:

query.Not().With<Frozen>()

Which reads: "entities that do NOT have Frozen."

Implementation

Q Not() {
  _groups.add(QueryGroup<T, E>());
  _groups.last.negated = true;
  return self;
}