quickjs_runtime::quickjs_utils::functions

Function 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