LinkedList.pushFront

Appends a value to the beginning of the list.

Arguments

The

value
to append.

Return values

None

Complexity

Constant

Example

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