Function quickjs_runtime::quickjs_utils::primitives::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