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