quickjs_runtime::quickjs_utils::primitives

Function to_string

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

ยงSafety

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