quickjs_runtime::quickjs_utils::objects

Function get_property_names

source
pub unsafe fn get_property_names(
    context: *mut JSContext,
    obj_ref: &QuickJsValueAdapter,
) -> Result<Vec<String>, JsError>
Expand description

get the names of all properties of an object

ยงSafety

When passing a context pointer please make sure the corresponding QuickJsContext is still valid