kotlin-stdlib / kotlin.collections / HashMap / clear clear Common Native 1.0 fun clear() JS 1.1 open fun clear() Removes all elements from this map.