chsvlib
chsv helper source code

◆ ucp_isascii()

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

Returns a flag indicating whether the given character belongs to the ANSI ASCII code space.

Parameters
chis the character to check.
Returns
A nonzero value, if ch belongs to the set \(\left[0, \textrm{0x7f}\right]\), and zero otherwise.