JSStringGetLength top-level property
Returns the number of Unicode characters in a JavaScript string.
string
(JSStringRef) The JSString whose length (in Unicode characters) you want to know.
@result
(size_t) The number of Unicode characters stored in string.
Implementation
final int Function(JSStringRef string) JSStringGetLength =
kLookup<NativeFunction<Int32 Function(JSStringRef)>>(
'JSStringGetLength',
).asFunction();