isNotEmpty property

bool get isNotEmpty

Checks if the stack is not empty

Implementation

bool get isNotEmpty => _items.isNotEmpty;