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