downTo

infix fun Int.downTo(to: Byte): IntProgression (source)
infix fun Long.downTo(to: Byte): LongProgression (source)
infix fun Byte.downTo(to: Byte): IntProgression (source)
infix fun Short.downTo(to: Byte): IntProgression (source)
infix fun Char.downTo(to: Char): CharProgression (source)
infix fun Int.downTo(to: Int): IntProgression (source)
infix fun Long.downTo(to: Int): LongProgression (source)
infix fun Byte.downTo(to: Int): IntProgression (source)
infix fun Short.downTo(to: Int): IntProgression (source)
infix fun Int.downTo(to: Long): LongProgression (source)
infix fun Long.downTo(to: Long): LongProgression (source)
infix fun Byte.downTo(to: Long): LongProgression (source)
infix fun Short.downTo(to: Long): LongProgression (source)
infix fun Int.downTo(to: Short): IntProgression (source)
infix fun Long.downTo(to: Short): LongProgression (source)
infix fun Byte.downTo(to: Short): IntProgression (source)
infix fun Short.downTo(to: Short): IntProgression (source)

Returns a progression from this value down to the specified to value with the step -1.

The to value should be less than or equal to this value. If the to value is greater than this value the returned progression is empty.