functions/arrays/initial library

Functions

initial(List list) → List
Gets all but the last element of list. Example