isHex

Checks whether a character is a valid hexadecimal digit.

  1. bool isHex(cstring str, bool allow_radix)
  2. bool isHex(char c)
    bool
    isHex
    (
    char c
    )

Parameters

c char

character to check

Return Value

Type: bool

true if the character is a valid hex digit, false otherwise

Meta