Skip to main content

interp_btreemap_set

Function interp_btreemap_set 

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

Insert or update a key-value pair in a BTreeMap.

@param h integer scalar: btreemap ID @param key character scalar: the key to set @param value any R value to store @return the previous value for the key, or NULL if the key was new