Sequence.isEmpty

Returns true if the sequence contains zero items.

This function is functionally identical to checking the result of glib.sequence.Sequence.getLength being equal to zero. However this function is implemented in O(1) running time.

class Sequence
bool
isEmpty
()

Return Value

Type: bool

true if the sequence is empty, otherwise false.