BUTLAST

[FUNCTION]


OM 6.1
Function Reference
ARGUMENTS:
  - list    
&optional
 
  - n   [default = 1]

Description:

Returns a copy of <list> without its last element or without its last <n> elements if <n> is supplied.

Ex. (butlast '(1 2 3 4 5 6)) ==> (1 2 3 4 5)
Ex. (butlast '(1 2 3 4 5 6)) ==> (1 2 3)