MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / is_hex_digit

Function is_hex_digit

core/string/char_utils.h:103–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103constexpr bool is_hex_digit(char32_t p_char) {
104 return (is_digit(p_char) || (p_char >= 'a' && p_char <= 'f') || (p_char >= 'A' && p_char <= 'F'));
105}
106
107constexpr bool is_binary_digit(char32_t p_char) {
108 return (p_char == '0' || p_char == '1');

Callers 10

_parse_ipv6Method · 0.85
_get_tokenMethod · 0.85
get_tokenMethod · 0.85
is_valid_hex_numberMethod · 0.85
html_is_validMethod · 0.85
_get_tokenMethod · 0.85
importMethod · 0.85
_get_tokenMethod · 0.85

Calls 1

is_digitFunction · 0.85

Tested by

no test coverage detected