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