quickjs_runtime::quickjs_utils::maps

Function is_map

source
pub unsafe fn is_map(
    ctx: *mut JSContext,
    obj: &QuickJsValueAdapter,
) -> Result<bool, JsError>
Expand description

see if a JSValueRef is an instance of Map

ยงSafety

please ensure the passed JSContext is still valid