[ Version ( since = "2.48" ) ]
public bool is_empty ()
Returns true if the sequence contains zero items.
This function is functionally identical to checking the result of get_length being equal to zero. However this function is implemented in O(1) running time.
this |
a Sequence |
true if the sequence is empty, otherwise false. |