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.

Return: %TRUE if the sequence is empty, otherwise %FALSE.

class Sequence
bool
isEmpty
()

Meta

Since

2.48