MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / GetPropertyNames

Method GetPropertyNames

Dependencies/napi/include/napi/napi-inl.h:1142–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1140}
1141
1142inline Array Object::GetPropertyNames() const {
1143 napi_value result;
1144 napi_status status = napi_get_property_names(_env, _value, &result);
1145 NAPI_THROW_IF_FAILED(_env, status, Array());
1146 return Array(_env, result);
1147}
1148
1149inline void Object::DefineProperty(const PropertyDescriptor& property) {
1150 napi_status status = napi_define_properties(_env, _value, 1,

Callers 1

napi_get_property_namesFunction · 0.80

Calls 2

ArrayClass · 0.85
napi_get_property_namesFunction · 0.50

Tested by

no test coverage detected