Function quickjs_runtime::quickjs_utils::sets::has[][src]

pub unsafe fn has(
    ctx: *mut JSContext,
    set: &JSValueRef,
    key: JSValueRef
) -> Result<bool, EsError>

check whether a Set has a value

Safety

please ensure the passed JSContext is still valid