isEmpty property

bool get isEmpty

Whether the BitArray is empty == has only zero values.

Implementation

bool get isEmpty {
  return _data.every((i) => i == 0);
}