kotlin-stdlib / kotlin.collections / HashMap / containsKey containsKey Common Native 1.0 fun containsKey(key: K): Boolean(Common source) (Native source) JS 1.1 open fun containsKey(key: K): Boolean(source) Returns true if the map contains the specified key.