Remainder

interface Remainder<in Left, in Right, out Result> : KoneContext(source)

An operation context for the remainder (modulo) operator.

Type Parameters

Left

The type of the left operand (dividend).

Right

The type of the right operand (divisor).

Result

The type of the result (remainder).

Functions

Link copied to clipboard
abstract operator fun Left.rem(other: Right): Result

Computes the remainder of this element divided by other.