reversed

fun IntProgression.reversed(): IntProgression
fun LongProgression.reversed(): LongProgression
fun CharProgression.reversed(): CharProgression

Returns a progression that goes over the same range in the opposite direction with the same step.


fun UIntProgression.reversed(): UIntProgression
fun ULongProgression.reversed(): ULongProgression

Returns a progression that goes over the same range in the opposite direction with the same step.

Since Kotlin

1.5