Function chakracore_sys::JsEquals [] [src]

pub unsafe extern "system" fn JsEquals(
    object1: JsValueRef,
    object2: JsValueRef,
    result: *mut bool
) -> JsErrorCode

Compare two JavaScript values for equality. This function is equivalent to the == operator in Javascript. Requires an active script context. The first object to compare. The second object to compare. Whether the values are equal. The code JsNoError if the operation succeeded, a failure code otherwise.