kotlin-stdlib / kotlin.collections / Map / size size Common JVM JS Native 1.0 abstract val size : Int (Common source) (Native source) Returns the number of key/value pairs in the map.