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

downTo

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

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

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