Function quickjs_runtime::quickjs_utils::sets::add

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

add a value to a Set

§Safety

please ensure the passed JSContext is still valid