xtd 0.2.0
Loading...
Searching...
No Matches

◆ is_digit() [1/2]

template<typename type_t >
static bool xtd::box_char< type_t >::is_digit ( type_t  c)
inlinestaticnoexcept

Indicates whether the specified Unicode character is categorized as a decimal digit.

Parameters
cThe Unicode character to evaluate.
Returns
true if c is a decimal digit; otherwise, false.
Remarks
This method determines whether a type_tis a radix-10 digit. This contrasts with is_number, which determines whether a Char is of any numeric Unicode category. Numbers include characters such as fractions, subscripts, superscripts, Roman numerals, currency numerators, encircled numbers, and script-specific digits.