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


@JvmName("divByte") operator fun Short.div(other: Attribute<Byte>): Attribute<Int>
@JvmName("divDouble") operator fun Short.div(other: Attribute<Double>): Attribute<Double>
@JvmName("divFloat") operator fun Short.div(other: Attribute<Float>): Attribute<Float>
@JvmName("divInt") operator fun Short.div(other: Attribute<Int>): Attribute<Int>
@JvmName("divLong") operator fun Short.div(other: Attribute<Long>): Attribute<Long>
operator fun Short.div(other: Attribute<Short>): Attribute<Int>

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

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

This is simply a convenience function.

See Also