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


@JvmName("timesByte") operator fun Short.times(other: Attribute<Byte>): Attribute<Int>
@JvmName("timesDouble") operator fun Short.times(other: Attribute<Double>): Attribute<Double>
@JvmName("timesFloat") operator fun Short.times(other: Attribute<Float>): Attribute<Float>
@JvmName("timesInt") operator fun Short.times(other: Attribute<Int>): Attribute<Int>
@JvmName("timesLong") operator fun Short.times(other: Attribute<Long>): Attribute<Long>
operator fun Short.times(other: Attribute<Short>): Attribute<Int>

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

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

This is simply a convenience function.

See Also