LinkedList.clear

Deletes all entries from the list.

Arguments

None

Return values

None

Complexity

O(size)

Example

"sl/linkedList" useFile a: (1 2 0 5 "Hello" 0.3) makeList; a.clear a [print "," print TRUE] enum
Output: