inc

inline operator fun inc(): CodePoint(source)

Returns the next code point by incrementing this code point's value by 1.

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

Since Kotlin

2.5

Return

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

See also