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

until

@JvmName("untilByte") infix fun Short.until(to: Attribute<Byte>): Attribute<IntRange>
@JvmName("untilInt") infix fun Short.until(to: Attribute<Int>): Attribute<IntRange>
@JvmName("untilLong") infix fun Short.until(to: Attribute<Long>): Attribute<LongRange>
infix fun Short.until(to: Attribute<Short>): Attribute<IntRange>

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

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

This is simply a convenience function.

See Also

kotlin.ranges.until