isDigit

actual inline fun Char.isDigit(): Boolean(source)

Returns true if this character is a digit.

A character is considered to be a digit if its category is CharCategory.DECIMAL_DIGIT_NUMBER.

Since Kotlin

1.0

Samples