quickjs_runtime::quickjs_utils::primitives

Function from_string

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

ยงSafety

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