Function quickjs_runtime::quickjs_utils::sets::clear

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

remove all entries from a Set

§Safety

please ensure the passed JSContext is still valid