JSStringIsEqualToUTF8CString top-level property
Tests whether a JavaScript string matches a null-terminated UTF8 string.
a
(JSStringRef) The JSString to test.
b
(char*) The null-terminated UTF8 string to test.
@result
(bool) true if the two strings match, otherwise false.
Implementation
final bool Function(JSStringRef a, Pointer<Utf8> b)
JSStringIsEqualToUTF8CString =
kLookup<NativeFunction<Bool Function(JSStringRef, Pointer<Utf8>)>>(
'JSStringIsEqualToUTF8CString',
).asFunction();