MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / InstanceOf

Method InstanceOf

napi-inl.h:1866–1871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1864}
1865
1866inline MaybeOrValue<bool> Object::InstanceOf(
1867 const Function& constructor) const {
1868 bool result;
1869 napi_status status = napi_instanceof(_env, _value, constructor, &result);
1870 NAPI_RETURN_OR_THROW_IF_FAILED(_env, status, result, bool);
1871}
1872
1873template <typename Finalizer, typename T>
1874inline void Object::AddFinalizer(Finalizer finalizeCallback, T* data) const {

Callers 1

InstanceOfFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected