Method ADT.List()->is_empty()
- Method is_empty
bool is_empty()
- Description
Check if the list is empty.
- Returns
Returns
1
if the list is empty, and0
(zero) if there are elements in the list.
bool is_empty()
Check if the list is empty.
Returns 1
if the list is empty,
and 0
(zero) if there are elements in the list.