quickjs_runtime::quickjs_utils::primitives

Function to_str

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

ยงSafety

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