Jak odwrócić tablicę w Kotlin

fun main() {
val arr: Array<Int?> = arrayOf(1, 2, 3, 4, 5)
arr. reverse();
println(arr. contentToString())
}
Powerful Partridge