nustack
ReferenceNuformscollectionsabc

shared_interactions

Shared collection mutation commands.

Module nu.forms.collections.abc.shared_interactions.

Shared collection mutation commands.

Clear: clear all items from a mutable collection; mutates, returns nothing.

NameSortCallMeaning
Clearscalar_commandClear()Clear all items: collection.clear(); mutates the collection, returns nothing.

Clear

Clear all items: collection.clear(); mutates the collection, returns nothing.

Clear()

Path nu.forms.collections.abc.Clear. Kind Command, sort scalar_command, cardinality void.

Undocumented: yields, example.

On this page