Strings » Code units » is_decimal_digit() module

Functions

auto is_decimal_digit(char c) -> bool constexpr noexcept
Returns true if a character is a decimal digit code point.
auto is_decimal_digit(char16_t c) -> bool constexpr noexcept
Returns true if a UTF-16 code unit is a decimal digit code point.
auto is_decimal_digit(char32_t c) -> bool constexpr noexcept
Returns true if a UTF-32 code unit is a decimal digit code point.
auto is_decimal_digit(char8_t c) -> bool constexpr noexcept
Returns true if a UTF-8 code unit is a decimal digit code point.
auto is_decimal_digit(unsigned char c) -> bool constexpr noexcept
Returns true if a character is a decimal digit code point.
auto is_decimal_digit(wchar_t c) -> bool constexpr noexcept
Returns true if a wide character is a decimal digit code point.

Function documentation

bool is_decimal_digit(char c) constexpr noexcept
#include <muu/chars.h>

Returns true if a character is a decimal digit code point.

bool is_decimal_digit(char16_t c) constexpr noexcept
#include <muu/chars.h>

Returns true if a UTF-16 code unit is a decimal digit code point.

bool is_decimal_digit(char32_t c) constexpr noexcept
#include <muu/chars.h>

Returns true if a UTF-32 code unit is a decimal digit code point.

bool is_decimal_digit(char8_t c) constexpr noexcept
#include <muu/chars.h>

Returns true if a UTF-8 code unit is a decimal digit code point.

bool is_decimal_digit(unsigned char c) constexpr noexcept
#include <muu/chars.h>

Returns true if a character is a decimal digit code point.

bool is_decimal_digit(wchar_t c) constexpr noexcept
#include <muu/chars.h>

Returns true if a wide character is a decimal digit code point.