ui.data.ActiveList.insert

Inserts an element at the specified index and shifts the rest of the list. If the specified index is greater than the length of the list, the element will be appended to the list.

Returns this ui.data.ActiveList.

UsageReturns
ActiveList.insert(index, el)ui.data.ActiveList
ArgumentTypeDetails
this: ui.data.activelistui.data.ActiveListThe ui.data.ActiveList instance.
indexNumberThe index at which to insert the element.
elObjectThe element to insert.