Verify if a list is empty:
import public
|
Definition and Usage
TThe isEmpty() method returns true if a list contains no items; otherwise, it returns false.
Syntax
public boolean isEmpty() |
Technical Details
Returns: |
true if a list has no items and false otherwise. |