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


@JvmName("plusByte") operator fun Attribute<Byte>): Attribute<Int>
@JvmName("plusDouble") operator fun Attribute<Double>): Attribute<Double>
@JvmName("plusFloat") operator fun Attribute<Float>): Attribute<Float>
@JvmName("plusInt") operator fun Attribute<Int>): Attribute<Int>
@JvmName("plusLong") operator fun Attribute<Long>): Attribute<Long>
operator fun Attribute<Short>): Attribute<Int>

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

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

This is simply a convenience function.

See Also