Function quickjs_runtime::quickjs_utils::maps::get

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

get a value from a map by key

§Safety

please ensure the passed JSContext is still valid