Function quickjs_runtime::quickjs_utils::objects::get_property
source · pub unsafe fn get_property(
context: *mut JSContext,
obj_ref: &QuickJsValueAdapter,
prop_name: &str,
) -> Result<QuickJsValueAdapter, JsError>
Expand description
get a property from an object by name
§Safety
when passing a context please ensure the corresponding QuickJsContext is still valid