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