Documentation / dataflow / com.femastudios.dataflow.extensions / downTo
Go to reference

downTo

@JvmName("downToInt") infix fun Field<Byte>.downTo(to: Field<Int>): Field<IntProgression>
@JvmName("downToLong") infix fun Field<Byte>.downTo(to: Field<Long>): Field<LongProgression>
@JvmName("downToShort") infix fun Field<Byte>.downTo(to: Field<Short>): Field<IntProgression>
infix fun Field<Byte>.downTo(to: Field<Byte>): Field<IntProgression>
infix fun Field<Byte>.downTo(to: Byte): Field<IntProgression>
infix fun Field<Byte>.downTo(to: Int): Field<IntProgression>
infix fun Field<Byte>.downTo(to: Long): Field<LongProgression>
infix fun Field<Byte>.downTo(to: Short): Field<IntProgression>
infix fun Field<Char>.downTo(to: Field<Char>): Field<CharProgression>
infix fun Field<Char>.downTo(to: Char): Field<CharProgression>
@JvmName("downToByte") infix fun Field<Int>.downTo(to: Field<Byte>): Field<IntProgression>
@JvmName("downToLong") infix fun Field<Int>.downTo(to: Field<Long>): Field<LongProgression>
@JvmName("downToShort") infix fun Field<Int>.downTo(to: Field<Short>): Field<IntProgression>
infix fun Field<Int>.downTo(to: Field<Int>): Field<IntProgression>
infix fun Field<Int>.downTo(to: Byte): Field<IntProgression>
infix fun Field<Int>.downTo(to: Int): Field<IntProgression>
infix fun Field<Int>.downTo(to: Long): Field<LongProgression>
infix fun Field<Int>.downTo(to: Short): Field<IntProgression>
@JvmName("downToByte") infix fun Field<Long>.downTo(to: Field<Byte>): Field<LongProgression>
@JvmName("downToInt") infix fun Field<Long>.downTo(to: Field<Int>): Field<LongProgression>
@JvmName("downToShort") infix fun Field<Long>.downTo(to: Field<Short>): Field<LongProgression>
infix fun Field<Long>.downTo(to: Field<Long>): Field<LongProgression>
infix fun Field<Long>.downTo(to: Byte): Field<LongProgression>
infix fun Field<Long>.downTo(to: Int): Field<LongProgression>
infix fun Field<Long>.downTo(to: Long): Field<LongProgression>
infix fun Field<Long>.downTo(to: Short): Field<LongProgression>
@JvmName("downToByte") infix fun Field<Short>.downTo(to: Field<Byte>): Field<IntProgression>
@JvmName("downToInt") infix fun Field<Short>.downTo(to: Field<Int>): Field<IntProgression>
@JvmName("downToLong") infix fun Field<Short>.downTo(to: Field<Long>): Field<LongProgression>
infix fun Field<Short>.downTo(to: Field<Short>): Field<IntProgression>
infix fun Field<Short>.downTo(to: Byte): Field<IntProgression>
infix fun Field<Short>.downTo(to: Int): Field<IntProgression>
infix fun Field<Short>.downTo(to: Long): Field<LongProgression>
infix fun Field<Short>.downTo(to: Short): Field<IntProgression>

Same as downTo, but accepts Field and returns a new Field.

Calling this function is equivalent to use transform and calling downTo in the transformation function.

This is simply a convenience function.

See Also

kotlin.ranges.downTo