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 by the other value.

The result is always less than the divisor.

Since Kotlin

1.5