kotlin-stdlib / kotlin.collections / HashMap / size size Common Native 1.0 val size: Int JS 1.1 open val size: Int Returns the number of key/value pairs in the map.