isNotEmpty property

bool get isNotEmpty

Whether the buffer is non-empty.

Implementation

bool get isNotEmpty => length != 0;