isNotEmpty property

bool isNotEmpty

Whether the BitArray is not empty == has set values.

Implementation

bool get isNotEmpty {
  return _data.any((i) => i != 0);
}