MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / UnicodeIsValid

Function UnicodeIsValid

internal/unicode.h:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20inline constexpr char32_t kUnicodeReplacementCharacter = 0xfffd;
21
22constexpr bool UnicodeIsValid(char32_t code_point) {
23 return code_point < 0xd800 || (code_point > 0xdfff && code_point <= 0x10ffff);
24}
25
26} // namespace cel::internal
27

Callers 2

UnescapeInternalFunction · 0.85
Utf8EncodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected