bool isNotEmpty

Returns whether the buffer is not empty. This is a constant-time operation.

Source

bool get isNotEmpty => !isEmpty;