emptyMap

Returns an empty read-only map of specified type.

fun <K, V> emptyMap(): Map<K, V>(source)
val empty: Map<String, Int> = emptyMap()

println(empty)          // Output: {}
println(empty.isEmpty()) // Output: true

Source