Core Help Root: Objects: List Library: Element
- .length(list) native
- Length of the list.
- .replace(list, n, elt) native
- Replaces nth element with elt.
- .delete(list, n) native
- Deletes nth element from the list.
- .insert(list, n, elt) native
- Inserts elt at the nth place of the list.
- .subrange(list, n, len) native
- Returns sublist starting at l, with len elements.
- .last(list)
- Returns last element of the list.
- .sort(list[, keys])
- Sorts the list by the keys list. Keys default to the list itself.
- .chop(list[, count])
- Removes count elements from the tail of the list. Default is 1 element.
- .swap(list, index1, index2)
- Swaps the two elements of the list.
Element | Formatting | Maps | Sets | Other
the Cold Dark