Skip to main content

interp_hashmap_has

Function interp_hashmap_has 

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

Check whether a key exists in a HashMap.

@param h integer scalar: hashmap ID @param key character scalar: the key to check @return logical scalar: TRUE if the key exists, FALSE otherwise