ascii: add is_alpha
query
This commit is contained in:
parent
dca92e2199
commit
44eeeaa134
@ -52,6 +52,15 @@ namespace cruft::ascii {
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
constexpr inline
|
||||
bool
|
||||
is_alpha (char c) noexcept
|
||||
{
|
||||
return is_lower (c) || is_upper (c);
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
constexpr inline
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user