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