isDigit

val String.isDigit: Boolean

Return a Boolean if the string is digit.

Example:

"0123".isDigit // true
"h34".isDigit // false

Since

1.1.0