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

Function Seal

test/object/object_freeze_seal.cc:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13Value Seal(const CallbackInfo& info) {
14 Object obj = info[0].As<Object>();
15 return Boolean::New(info.Env(), MaybeUnwrapOr(obj.Seal(), false));
16}
17
18Object InitObjectFreezeSeal(Env env) {
19 Object exports = Object::New(env);

Callers

nothing calls this directly

Calls 3

MaybeUnwrapOrFunction · 0.85
EnvMethod · 0.80
SealMethod · 0.80

Tested by

no test coverage detected