pub unsafe extern "C-unwind" fn JSStringGetLength(
string: JSStringRef,
) -> usize
Available on crate features
JSStringRef
and JSBase
only.Expand description
Returns the number of Unicode characters in a JavaScript string.
Parameter string
: The JSString whose length (in Unicode characters) you want to know.
Returns: The number of Unicode characters stored in string.