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

rem

@JvmName("remByte") operator fun Short.rem(other: Attribute<Byte>): Attribute<Int>
@JvmName("remDouble") operator fun Short.rem(other: Attribute<Double>): Attribute<Double>
@JvmName("remFloat") operator fun Short.rem(other: Attribute<Float>): Attribute<Float>
@JvmName("remInt") operator fun Short.rem(other: Attribute<Int>): Attribute<Int>
@JvmName("remLong") operator fun Short.rem(other: Attribute<Long>): Attribute<Long>
operator fun Short.rem(other: Attribute<Short>): 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.Short.rem