isHex

isHex(): Boolean;

The isHex method of the Character primitive type returns true if the receiver represents a hexadecimal character; that is, 0 through 9, a through f, or A through F.