Function quickjs_runtime::quickjs_utils::sets::values

source ·
pub unsafe fn values<C: Fn(QuickJsValueAdapter) -> Result<R, JsError>, R>(
    ctx: *mut JSContext,
    set: &QuickJsValueAdapter,
    consumer_producer: C,
) -> Result<Vec<R>, JsError>
Expand description

iterate over all values of a Set

§Safety

please ensure the passed JSContext is still valid