absl::ascii_isascii

Determines whether the given character is ASCII.

Synopsis

Declared in <absl/strings/ascii.h>

constexpr
bool
ascii_isascii(unsigned char c);

Return Value

true if c is an ASCII character, false otherwise.

Parameters

NameDescription
cThe character to test.