Home
last modified time | relevance | path

Searched refs:napi_instanceof (Results 1 – 4 of 4) sorted by relevance

/third_party/node/test/js-native-api/test_general/
Dtest_general.c50 NODE_API_CALL(env, napi_instanceof(env, args[0], args[1], &instanceof)); in doInstanceOf()
/third_party/node/src/
Djs_native_api.h258 NAPI_EXTERN napi_status napi_instanceof(napi_env env,
Djs_native_api_v8.cc2804 napi_status NAPI_CDECL napi_instanceof(napi_env env, in napi_instanceof() function
/third_party/node/doc/api/
Dn-api.md739 [`napi_instanceof`][], because the latter can report a false positive if the
3800 ### `napi_instanceof`
3808 napi_status napi_instanceof(napi_env env,
5032 status = napi_instanceof(env, es_this, MyClass_constructor, &is_instance);
5043 There are occasions where `napi_instanceof()` is insufficient for ensuring that
5085 help, because `napi_instanceof()` can then be used to ensure that the instances
5088 Unfortunately, `napi_instanceof()` does not protect against prototype
5092 will pass the `napi_instanceof()` test for a query handle instance, while still
5105 of a higher fidelity than `napi_instanceof()` can provide, because such type-
6555 [`napi_instanceof`]: #napi_instanceof hashtag