mrdocs::isAlphabetic
isAlphabetic overloads
Synopses
Declared in <mrdocs/Support/String.hpp>
Determine if a character is an ASCII letter.
constexpr
bool
isAlphabetic(char const c) noexcept;
Determine if every character in a string is an ASCII letter.
constexpr
bool
isAlphabetic(std::string_view const s) noexcept;
Return Value
-
trueifcis in the ranges 'a'‐'z' or 'A'‐'Z'. -
trueif all characters are alphabetic.
Parameters
| Name | Description |
|---|---|
c |
Character to inspect. |
s |
String to inspect. |
Created with MrDocs