Expand description
Detection of UTF-16 surrogate codepoints for u16
This module exposes predicate functions for detecting surrogates, including trailing and leading surrogates.
Traits§
- Infra
Utf16 Surrogate - Methods from the WHATWG Infra Standard for UTF-16 surrogates
Functions§
- is_
leading_ surrogate_ utf16 - Checks if a
u16
is a UTF-16 codepoint defined in the range of U+D800 to U+DBFF, inclusive. - is_
surrogate_ utf16 - Checks if a
u16
is a UTF-16 codepoint defined in the range of U+D800 to U+DFFF, inclusive. - is_
trailing_ surrogate_ utf16 - Checks if a
u16
is a UTF-16 codepoint defined in the range of U+DC00 to U+DFFF, inclusive.