| 338 | #endif // NAPI_CPP_EXCEPTIONS |
| 339 | |
| 340 | Value InstanceOf(const CallbackInfo& info) { |
| 341 | Object obj = info[0].UnsafeAs<Object>(); |
| 342 | Function constructor = info[1].As<Function>(); |
| 343 | return Boolean::New(info.Env(), MaybeUnwrap(obj.InstanceOf(constructor))); |
| 344 | } |
| 345 | |
| 346 | Value GetPrototype(const CallbackInfo& info) { |
| 347 | Object obj = info[0].UnsafeAs<Object>(); |
nothing calls this directly
no test coverage detected