last
Returns the last CONS of a list. Result is NOT the last element.
Optional count arg, returns nth from last
> (setq a '(1 2 3 4))
(1 2 3 4)
> (last a)
(4)
> (last a 2)
(3 4)
> (car (last a 2))
3
Previous slide
Next slide
Back to first slide
View graphic version