dec

inline operator fun dec(): CodePoint(source)

Returns the previous code point by decrementing this code point's value by 1.

This is equivalent to this - 1. If this is the minimum code point CodePoint.MIN_VALUE, the result wraps around to CodePoint.MAX_VALUE.

Since Kotlin

2.5

Return

A CodePoint with the value decremented by 1, wrapped within the valid range.

See also