last

last is a compiled Lisp function in `subr.el'.

(last LIST &optional N)

Return the last link of LIST. Its car is the last element.
If LIST is nil, return nil.
If N is non-nil, return the Nth-to-last link of LIST.
If N is bigger than the length of LIST, return LIST.