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

plus

@JvmName("plusDouble") operator fun Byte.plus(other: Attribute<Double>): Attribute<Double>
@JvmName("plusFloat") operator fun Byte.plus(other: Attribute<Float>): Attribute<Float>
@JvmName("plusInt") operator fun Byte.plus(other: Attribute<Int>): Attribute<Int>
@JvmName("plusLong") operator fun Byte.plus(other: Attribute<Long>): Attribute<Long>
@JvmName("plusShort") operator fun Byte.plus(other: Attribute<Short>): Attribute<Int>
operator fun Byte.plus(other: Attribute<Byte>): 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

kotlin.Byte.plus