iterate through entries of map in kotlin code example Example: kotlin map foreach map.forEach { (key, value) -> println("$key = $value") }