Function script::dom::bindings::import::module::jsapi::JS::StrictlyEqual

source ·
pub unsafe extern "C" fn StrictlyEqual(
    cx: *mut JSContext,
    v1: Handle<Value>,
    v2: Handle<Value>,
    equal: *mut bool,
) -> bool
Expand description

Store |v1 === v2| to |*equal| – strict equality, which performs no conversions on |v1| or |v2| before comparing.

This operation can fail only if an internal error occurs (e.g. OOM while linearizing a string value).