reverse
Reverses elements in the array in-place.
Reverses elements of the array in the specified range in-place.
Since Kotlin
1.4
Parameters
from Index
the start of the range (inclusive) to reverse.
to Index
the end of the range (exclusive) to reverse.
Throws
Reverses elements in the array in-place.
Since Kotlin
1.3
Reverses elements in the list in-place.
Reverses elements in the list in-place.
Reverses elements in the list in-place.
Reverses elements in the list in-place.