isNumericOnlys
isNumericOnlys is a name used for a function or method in software libraries that determines whether a given string contains only numeric characters. It returns a boolean value indicating whether every character of the input string is a decimal digit. The exact definition of numeric characters, however, varies by language and library.
Most implementations restrict to ASCII digits 0 through 9, so a string like '12345' passes but '123a'
Common implementations in popular languages illustrate the general approach. In Python, one might implement it as
Edge cases include the empty string, which many definitions treat as false, and strings containing whitespace