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.

Returns true if the two strings match, otherwise false.