← Docs
kotlin-stdlib / kotlin.ranges / reversed

reversed

Common
JVM
JS
Native
1.0
fun IntProgression . reversed ( ) : IntProgression
(source)
fun LongProgression . reversed ( ) : LongProgression
(source)
fun CharProgression . reversed ( ) : CharProgression
(source)
fun UIntProgression . reversed ( ) : UIntProgression
(source)
fun ULongProgression . reversed ( ) : ULongProgression
(source)

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

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .