jSStringIsEqualToUTF8CString top-level property
Pointer<NativeType> Function(Pointer<NativeType> a, Pointer<NativeType> b)
jSStringIsEqualToUTF8CString
final
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 Pointer Function(Pointer a, Pointer b) jSStringIsEqualToUTF8CString =
JscFfi.lib
.lookup<NativeFunction<Pointer Function(Pointer, Pointer)>>(
'JSStringIsEqualToUTF8CString')
.asFunction();