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


@JvmName("downToByte") infix fun Short.downTo(to: Attribute<Byte>): Attribute<IntProgression>
@JvmName("downToInt") infix fun Short.downTo(to: Attribute<Int>): Attribute<IntProgression>
@JvmName("downToLong") infix fun Short.downTo(to: Attribute<Long>): Attribute<LongProgression>
infix fun Short.downTo(to: Attribute<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