Skip to content

str::isDigit ​

isDigit(str: String) ​

ParameterTypeDescription
strString

Returns ​

(Boolean) Whether or not the given string consists of a single digit.