private JsStrictEquals ( |
||
obj1 | ||
obj2 | ||
result | bool | |
return | JavaScriptErrorCode |
/// <summary> /// Compare two JavaScript values for strict equality. /// </summary> /// <remarks> /// <para> /// This function is equivalent to the "===" operator in JavaScript. /// </para> /// <para> /// Requires an active script context. /// </para> /// </remarks> /// <param name="other">The object to compare.</param> /// <returns>Whether the values are strictly equal.</returns> public bool StrictEquals(JavaScriptValue other) { bool equals; Native.ThrowIfError(Native.JsStrictEquals(this, other, out equals)); return(equals); }