Returns True if list is the empty list . Returns False if list contains any items.
empty? ( list As List ) As Boolean
Argument | Type | Description |
---|---|---|
list | List | List to check. |
Intent >empty?({}) --> True
Intent >empty?({1,2,3}) --> False
Intent >empty?({{}}) --> FalseThis example is a list containing an empty list , so it isn't empty.