/
isDigit
isDigit
Description
Returns "true" if the provided argument str is a string containing only digits.
Parameters
Return Type
Boolean (true/false)
Examples
Example 1
wret = isDigit("2345");
print(wret);
Print true
Example 2
wret = isDigit("aaa2345f.ff");
print (wret );
Print false
Example 3
wret = isDigit("2.34");
print(wret);
Print false
See also
Related content
Type conversion
Type conversion
Read with this
isDigit
More like this
Syntax and types introduction
Syntax and types introduction
Read with this
isDigit
isDigit
More like this
isNumeric
isNumeric
More like this
isNumeric
isNumeric
More like this