Check that a string only consists of digits.
isDigit("abcdefghijklmnopqrstuvxyz") // => false isDigit("ABCDEFGHIJKLMNOPQRSTUVXYZ") // => false isDigit("1234567890") // => true isDigit("=") // => false
True if it only contains alphanumeric characters.
the string of characters
Check that a string only consists of digits.
Example
Returns
True if it only contains alphanumeric characters.