rem

operator fun AnyInt.rem(other: NonZeroInt): Int
operator fun NegativeInt.rem(other: NonZeroInt): NegativeInt
operator fun Int.rem(other: NonZeroInt): Int
operator fun PositiveInt.rem(other: NonZeroInt): PositiveInt

Calculates the remainder of truncating division of this integer by the other one.

Since

4.1.0