JSStringGetLength top-level property

int Function(JSStringRef string) JSStringGetLength
final

Returns the number of Unicode characters in a JavaScript string. string The JSString whose length (in Unicode characters) you want to know. @result The number of Unicode characters stored in string.

Implementation

final int Function(JSStringRef string) JSStringGetLength = jscLib.lookup<NativeFunction<Size Function(JSStringRef string)>>('JSStringGetLength').asFunction();