isNotEmpty property

bool isNotEmpty
override

Returns true if there is at least one element in this collection.

May be computed by checking if iterator.moveNext() returns true.

Implementation

bool get isNotEmpty => _root != null;