containsDigit

@get:JvmName(name = "containsDigit")
val String.containsDigit: Boolean

Return a Boolean if the string contains digit.

Example:

"Hello".containsDigit // false
"Hello 1".containsDigit // true
"123".containsDigit // true

Since

1.1.0