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

Function AccessWeakArrayEmpty

test/reference.cc:63–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63napi_value AccessWeakArrayEmpty(const CallbackInfo& info) {
64 Buffer<uint8_t> value = weak.Value();
65 return Napi::Boolean::New(info.Env(), value.IsEmpty());
66}
67
68Object InitReference(Env env) {
69 Object exports = Object::New(env);

Callers

nothing calls this directly

Calls 3

ValueMethod · 0.80
EnvMethod · 0.80
IsEmptyMethod · 0.80

Tested by

no test coverage detected