JSStringIsEqualToUTF8CString top-level property

bool Function(JSStringRef a, Pointer<Utf8> b) JSStringIsEqualToUTF8CString
final

Tests whether a JavaScript string matches a null-terminated UTF8 string. a The JSString to test. b The null-terminated UTF8 string to test. @result true if the two strings match, otherwise false.

Implementation

final bool Function(JSStringRef a, Pointer<Utf8> b) JSStringIsEqualToUTF8CString =
    jscLib.lookup<NativeFunction<Bool Function(JSStringRef a, Pointer<Utf8> b)>>('JSStringIsEqualToUTF8CString').asFunction();