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