How to iterate over hashmap in Kotlin?
It’s not that difficult: for ((key, value) in map) { println(“$key = $value”) } OR (Updated in accordance with @RuckusT-Boom’s and @KenZira’s information.) map.forEach { (key, value) -> println(“$key = $value”) }