isEmpty method

bool isEmpty()

Tests whether the index contains any items. This method does not build the index, so items can still be inserted after it has been called.

@return true if the index does not contain any items

Implementation

bool isEmpty() {
  if (!built) return itemBoundables!.isEmpty;
  return root.isEmpty();
}