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

rem

@JvmName("remDouble") operator fun Byte.rem(other: Attribute<Double>): Attribute<Double>
@JvmName("remFloat") operator fun Byte.rem(other: Attribute<Float>): Attribute<Float>
@JvmName("remInt") operator fun Byte.rem(other: Attribute<Int>): Attribute<Int>
@JvmName("remLong") operator fun Byte.rem(other: Attribute<Long>): Attribute<Long>
@JvmName("remShort") operator fun Byte.rem(other: Attribute<Short>): Attribute<Int>
operator fun Byte.rem(other: Attribute<Byte>): Attribute<Int>

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

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

This is simply a convenience function.

See Also

kotlin.Byte.rem