initial
all items of a list except for the last
(list subject) -> list
Returns a list containing all but the last element of subject.
Returns nil if subject is nil
Throws an error if subject is empty.
Parameters
| Name | Type | Description |
|---|---|---|
subject |
list | The list to work with |