pub unsafe extern "C" fn JSStringIsEqualToUTF8CString(
a: JSStringRef,
b: *const c_char,
) -> bool
Expand description
Tests whether a JavaScript string matches a null-terminated UTF8 string.
a
: TheJSStringRef
to test.b
: The null-terminated UTF8 string to test.
Returns true
if the two strings match, otherwise false
.