chsvlib
chsv helper source code

◆ ucp_isupper_ascii()

int Chusov::String::ucp_isupper_ascii ( ucp_t  ch)
noexcept

Returns a flag that indicates whether a given character is an uppercase alphabetic character in the ASCII code space.

Parameters
chis the character to check.
Returns
A nonzero value, if ch is an ASCII alphabetic uppercase character, i.e. belongs to the range \(\left[\textrm{0x41}; \textrm{0x5a}\right]\). Otherwise, the function returns a zero value.

The function repeats the standard library isupper function.

See also
ucp_isupper Same, but checks the whole Unicode 11.0 code space except for surrogate pairs.