BloombergLP::bdlb::CharType::isDigit

Return whether character is a decimal digit.

Synopsis

Declared in <bdlb_chartype.h>

static
bool
isDigit(char character);

Description

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

Return Value

true if character is a decimal digit, and false otherwise

Parameters

NameDescription
charactercharacter to classify