Function JSStringGetLength

Source
pub unsafe extern "C" fn JSStringGetLength(
    string: JSStringRef,
) -> usize
Expand description

Returns the number of Unicode characters in a JavaScript string.

  • string: The JSStringRef whose length (in Unicode characters) you want to know.

Returns the number of Unicode characters stored in string.