This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

DigitQ

DigitQ[string]
yields True if all the characters in the string are digits in the range 0 through 9, and yields False otherwise.
Test whether a character is a digit:
Test whether all characters in a string are digits:
Only ordinary digit characters are treated as digits:
New in 2