module
is_number()Functions
- auto is_number(char c) -> bool constexpr noexcept
- Returns true if a character is a number code point.
- auto is_number(char16_t c) -> bool constexpr noexcept
- Returns true if a UTF-16 code unit is a number code point.
- auto is_number(char32_t c) -> bool constexpr noexcept
- Returns true if a UTF-32 code unit is a number code point.
- auto is_number(char8_t c) -> bool constexpr noexcept
- Returns true if a UTF-8 code unit is a number code point.
- auto is_number(unsigned char c) -> bool constexpr noexcept
- Returns true if a character is a number code point.
- auto is_number(wchar_t c) -> bool constexpr noexcept
- Returns true if a wide character is a number code point.
Function documentation
bool is_number(char c) constexpr noexcept
#include <muu/chars.h>
Returns true if a character is a number code point.
bool is_number(char16_t c) constexpr noexcept
#include <muu/chars.h>
Returns true if a UTF-16 code unit is a number code point.
bool is_number(char32_t c) constexpr noexcept
#include <muu/chars.h>
Returns true if a UTF-32 code unit is a number code point.
bool is_number(char8_t c) constexpr noexcept
#include <muu/chars.h>
Returns true if a UTF-8 code unit is a number code point.
bool is_number(unsigned char c) constexpr noexcept
#include <muu/chars.h>
Returns true if a character is a number code point.
bool is_number(wchar_t c) constexpr noexcept
#include <muu/chars.h>
Returns true if a wide character is a number code point.