Package java.lang
Class Character

Public Method isDigit

static boolean isDigit(char ch)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Determines if the specified character is a digit. A character is considered to be a digit if it is not in the range '\u2000' ≤ ch ≤ '\u2FFF' and its Unicode name contains the word "DIGIT".

Example

   if (Character.isDigit('1'))
      Logger.log("The character is a digit!");

Returns true if the specified character is a digit.