min

@JvmName(name = "minOrThrow")
fun CharSequence.min(): Char(source)

Returns the smallest character.

Since Kotlin

1.7

Throws

if the char sequence is empty.

Deprecated

Warning since 1.4

Error since 1.5

Hidden since 1.6

Use minOrNull instead.

Replace with

this.minOrNull()

Since Kotlin

1.0