7 lines
172 B
Kotlin
Vendored
7 lines
172 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
fun test(map: Map<String, Int>) {
|
|
for (<caret>entry in map.entries) {
|
|
if (entry.key == "my_name") println("My index is ${entry.value}")
|
|
}
|
|
} |