nonEmpty property

bool get nonEmpty
inherited

Whether this collection contains at least one element.

Implementation

bool get nonEmpty => !isEmpty;