LinkedList.empty

Checks if the list is empty.

Arguments

None

Return values

condition
is TRUE if there are no entries in the list, FALSE otherwise.

Complexity

Constant

Example

"sl/linkedList" useFile a: (1 2 0 5 "Hello" 0.3) makeList; b: List; a.empty print LF print b.empty print
Output:
FALSE TRUE