Returns true
if there are no elements in this collection.
May be computed by checking if iterator.moveNext()
returns false
.
Source
bool get isEmpty => _head == _tail;
Returns true
if there are no elements in this collection.
May be computed by checking if iterator.moveNext()
returns false
.
bool get isEmpty => _head == _tail;