Skip to main content

js_len

Function js_len 

Source
pub fn js_len(s: &str) -> usize
Expand description

JS string.length: UTF-16 code units. Use it wherever upstream compares or sorts by length.