ui.data.ActiveList.reset

Replaces all elements in list with a new list or, if no list is provided, removes all elements from list.

Returns the elements in the list after the reset is applied.

UsageReturns
ActiveList.reset(list)List
ArgumentTypeDetails
this: ui.data.activelistui.data.ActiveListThe ui.data.ActiveList instance.
listList, optionalA list of elements.