isNotEmpty property

bool get isNotEmpty

Whether this collection contains at least one element.

Implementation

bool get isNotEmpty => !isEmpty;