Documentation / dataflow-async / com.femastudios.dataflow.async.extensions / kotlin.Byte / downTo
Go to reference
Go to reference
downTo
@JvmName("downToInt") infix fun Byte.downTo(to: Attribute<Int>): Attribute<IntProgression>
@JvmName("downToLong") infix fun Byte.downTo(to: Attribute<Long>): Attribute<LongProgression>
@JvmName("downToShort") infix fun Byte.downTo(to: Attribute<Short>): Attribute<IntProgression>
infix fun Byte.downTo(to: Attribute<Byte>): 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