last

(last list)

The last function returns the last element of the given argument list.

Examples

: (last '(1 2 3 4 5))

5

: (last '(1 2 3 (4 5)))

(4 5)