Function quickjs_runtime::quickjs_utils::functions::call_to_string

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

call an objects to_String method or convert a value to string

§Safety

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