Skip to main content

interp_hashmap_to_list

Function interp_hashmap_to_list 

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

Convert a HashMap to a named R list.

Each key becomes a name in the list, each value becomes the corresponding element.

@param h integer scalar: hashmap ID @return named list