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