Returns the internal representation of the specified string.
Syntax
isDigit( character )
character.isDigit( )
Parameters
character
|
the character to check.
|
Returns
boolean
|
true if it is a digit, [ 0 .. 9 ].
false if it is not a digit.
|
Example
if c.isDigit( ) then
break
end
|