method
chararray.
isdigit
Returns true for each element if all characters in the string are digits and there is at least one character, false otherwise.
See also
char.isdigit