kotlin-stdlib / kotlin.collections / AbstractMutableCollection / clear clear Common JS Native 1.0 open fun clear()(Common source) (JS source) (Native source) Removes all elements from this collection.