rem

inline operator fun rem(other: UByte): UInt(source)
inline operator fun rem(other: UShort): UInt(source)
inline operator fun rem(other: UInt): UInt(source)
inline operator fun rem(other: ULong): ULong(source)

Calculates the remainder of truncating division of this value (dividend) by the other value (divisor).

The result is always less than the divisor.

Since Kotlin

1.5