Sequence.isEmpty

Returns %TRUE if the sequence contains zero items.

This function is functionally identical to checking the result of g_sequence_get_length() 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.

Meta

Since

2.48