- :null
- :any
last
return the last item of the given collection
Parameters
last collection :string :block :range
Attributes
n | :integer | get last *n* items |
Returns
Examples
copyprint last "this is some text" ; t print last ["one" "two" "three"] ; three
copyprint last.n:2 ["one" "two" "three"] ; two three