mrdocs::isAlphaNumeric

isAlphaNumeric overloads

Synopses

Declared in <mrdocs/Support/String/String.hpp>

Determine if a character is ASCII alphanumeric.

constexpr
bool
isAlphaNumeric(char const c) noexcept;
» more...

Determine if every character in a string is ASCII alphanumeric.

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

Return Value

  • true if c is an ASCII letter or digit.
  • true if all characters are ASCII letters or digits.

Parameters

NameDescription
cCharacter to inspect.
sString to inspect.