reverse
Reverses elements in the array in-place.
Since Kotlin
1.0Reverses elements of the array in the specified range in-place.
Since Kotlin
1.4Parameters
fromIndex 
the start of the range (inclusive) to reverse.
toIndex 
the end of the range (exclusive) to reverse.
Throws
Reverses elements in the array in-place.
Since Kotlin
1.3Reverses elements in the list in-place.
Since Kotlin
1.0Reverses elements in the list in-place.
Since Kotlin
1.1Reverses elements in the list in-place.
Since Kotlin
1.0Reverses elements in the list in-place.
Since Kotlin
1.3Reverses elements in the list in-place.
Since Kotlin
1.8Reverses elements in the list in-place.