JsEquals() private method

private JsEquals ( JavaScriptValue obj1, JavaScriptValue obj2, bool &result ) : JavaScriptErrorCode
obj1 JavaScriptValue
obj2 JavaScriptValue
result bool
return JavaScriptErrorCode
        /// <summary>
        /// Compare two JavaScript values for 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 equal.</returns>
        public bool Equals(JavaScriptValue other)
        {
            bool equals;

            Native.ThrowIfError(Native.JsEquals(this, other, out equals));
            return(equals);
        }