napi_strict_equals
functionv1js_native_api.hThis API represents the invocation of the Strict Equality algorithm as defined in Section IsStrictlyEqual of the ECMAScript Language Specification.
napi_status napi_strict_equals(napi_env env,
napi_value lhs,
napi_value rhs,
bool* result)
[in] env: The environment that the API is invoked under.[in] lhs: The JavaScript value to check.[in] rhs: The JavaScript value to check against.[out] result: Whether the twonapi_valueobjects are equal.
Returns napi_ok if the API succeeded.
This API represents the invocation of the Strict Equality algorithm as defined in Section IsStrictlyEqual of the ECMAScript Language Specification.