Skip to main content

interp_hashmap_remove

Function interp_hashmap_remove 

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

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

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