Skip to main content

interp_btreemap_remove

Function interp_btreemap_remove 

Source
fn interp_btreemap_remove(
    args: &[RValue],
    named: &[(String, RValue)],
    context: &BuiltinContext<'_>,
) -> Result<RValue, RError>
Expand description

Remove a key from a BTreeMap, returning the old value.

@param h integer scalar: btreemap ID @param key character scalar: the key to remove @return the removed value, or NULL if the key did not exist