Strings » Code units » is_letter() module

Functions

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

Function documentation

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

Returns true if a character is a letter code point.

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

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

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

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

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

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

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

Returns true if a character is a letter code point.

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

Returns true if a wide character is a letter code point.