quickjs_runtime::quickjs_utils::maps

Function has

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

check whether a Map has a value for a key

ยงSafety

please ensure the passed JSContext is still valid