hasValue method

bool hasValue()

Returns true if the sequence has elements.

Implementation

bool hasValue() => isNotEmpty;