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

Method GetPropertyNames

napi-inl.h:1830–1834  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1828}
1829
1830inline MaybeOrValue<Array> Object::GetPropertyNames() const {
1831 napi_value result;
1832 napi_status status = napi_get_property_names(_env, _value, &result);
1833 NAPI_RETURN_OR_THROW_IF_FAILED(_env, status, Array(_env, result), Array);
1834}
1835
1836inline MaybeOrValue<bool> Object::DefineProperty(
1837 const PropertyDescriptor& property) const {

Callers 5

const_iteratorMethod · 0.80
iteratorMethod · 0.80
RunWithContextFunction · 0.80
testFunction · 0.80
GetPropertyNamesFunction · 0.80

Calls 1

ArrayClass · 0.85

Tested by 1

testFunction · 0.64