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.ActiveList

The ui.data.ActiveList instance.

listList, optional

A list of elements.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!