Skip to main content

code_unit_string_browse

Function code_unit_string_browse 

Source
pub fn code_unit_string_browse(
    cx: &mut Cx,
    text: &CodeUnitString,
) -> Result<Value>
Expand description

Browse table for an exact-unit string.

code-unit-length and scalar-text are deliberately separate: invalid UTF-16 has no scalar-text member, so browsing never relabels it as text.