isNotEmpty property

bool get isNotEmpty

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

Implementation

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