removeAll

external fun removeAll()(source)

Removes all labels from the collection.

labels.add(...);
labels.add(...);
labels.removeAll();

See also