last v -- yields the last element of the list v.
See also first.
Code:
-- ../../../Macaulay2/m2/structure.m2:5 last = x -> x#-1