MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / GetPropertyNames

Function GetPropertyNames

test/object/object.cc:98–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98Array GetPropertyNames(const CallbackInfo& info) {
99 Object obj = info[0].As<Object>();
100 Array arr = MaybeUnwrap(obj.GetPropertyNames());
101 return arr;
102}
103
104void DefineProperties(const CallbackInfo& info) {
105 Object obj = info[0].As<Object>();

Callers

nothing calls this directly

Calls 2

MaybeUnwrapFunction · 0.85
GetPropertyNamesMethod · 0.80

Tested by

no test coverage detected