Function quickjs_runtime::quickjs_utils::sets::has

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

check whether a Set has a value

§Safety

please ensure the passed JSContext is still valid