Function quickjs_runtime::quickjs_utils::maps::delete

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

delete a value from a map by key

§Safety

please ensure the passed JSContext is still valid