isDigit overloads
Declared in <mrdocs/Support/String.hpp>
Determine if a character is an ASCII digit.
constexpr
bool
isDigit(char const c) noexcept;
» more...
Determine if every character in a string is an ASCII digit.
constexpr
bool
isDigit(std::string_view const s) noexcept;
» more...
true if c is between '0' and '9'.true if all characters are digits.| Name | Description |
|---|---|
| c | Character to inspect. |
| s | String to inspect. |