step

infix fun IntProgression.step(step: Int): IntProgression
infix fun LongProgression.step(step: Long): LongProgression
infix fun CharProgression.step(step: Int): CharProgression

Returns a progression that goes over the same range with the given step.


infix fun UIntProgression.step(step: Int): UIntProgression
infix fun ULongProgression.step(step: Long): ULongProgression

Returns a progression that goes over the same range with the given step.

Since Kotlin

1.5