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;
» more...

Determine if every character in a string is an ASCII letter.

constexpr
bool
isAlphabetic(std::string_view const s) noexcept;
» more...

Return Value

  • true if c is in the ranges 'a'-'z' or 'A'-'Z'.
  • true if all characters are alphabetic.

Parameters

NameDescription
cCharacter to inspect.
sString to inspect.