ui.data.ActiveList.set

Sets an element at the specified index. If the index exceeds that of the list's last element, the element will be added to the end of the list.

Returns this ui.data.ActiveList.

UsageReturns
ActiveList.set(index, el)ui.data.ActiveList
ArgumentTypeDetails
this: ui.data.activelistui.data.ActiveListThe ui.data.ActiveList instance.
indexNumberThe index to overwrite.
elObjectThe element to set.