pub unsafe extern "C-unwind" fn JSStringIsEqualToUTF8CString(
a: JSStringRef,
b: *const c_char,
) -> bool
Available on crate features
JSStringRef
and JSBase
only.Expand description
Tests whether a JavaScript string matches a null-terminated UTF8 string.
Parameter a
: The JSString to test.
Parameter b
: The null-terminated UTF8 string to test.
Returns: true if the two strings match, otherwise false.