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