Predefined function reference

list_insert_at_index

A reference entry for list_insert_at_index

Predefined function · list

list_insert_at_index (list l, integer pos, mixed element) ⇒ list

Adds an element, element, to the list, l, at a position, pos. Note: This function does not copy the list, l, but simply adds to it.

Alternative function names: list_insert_at