Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

JsEquals

Limin Zhu edited this page Oct 9, 2015 · 1 revision

Compare two JavaScript values for equality.

Syntax

STDAPI_(JsErrorCode)
    JsEquals(
    _In_ JsValueRef object1,
    _In_ JsValueRef object2,
    _Out_ bool *result);

Parameters

  • object1: The first object to compare.
  • object2: The second object to compare.
  • result: Whether the values are equal.

Return Value

The code JsNoError if the operation succeeded, a failure code otherwise.

Remarks

This function is equivalent to the == operator in Javascript. Requires an active script context.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.