BloombergLP::bdlb::CharType::isXdigit

Return whether character is a hexadecimal digit.

Synopsis

Declared in <bdlb_chartype.h>

static
bool
isXdigit(char character);

Description

Return true if the specified character is in the XDIGIT category (i.e., [0-9A-Fa-f]), and false otherwise.

Return Value

true if character is a hexadecimal digit, and false otherwise

Parameters

NameDescription
charactercharacter to classify