juangamnik
08/04/2016, 5:24 PMsomeArray.withIndex().map { indexedValue ->
val (index, value) = indexedValue
// do something with index and value
}
but not:
someArray.withIndex().map { (index, value) ->
// do something with index and value
}
Is this intentional?