Skip to content

insert

insert(list: List, index: Integer, value)

ParameterTypeDescription
listListList to act on
indexIntegerIndex the item should be placed at
value*Value to insert

Inserts a value at the specified index in a list.

Returns

(List) The same list.