Skip to main content

get_array

Function get_array 

Source
pub fn get_array(
    m: &HashMap<String, Value>,
    key: &str,
) -> Result<Vec<Value>, String>
Expand description

Extracts an Array parameter value from the arguments map.

Returns Err if the key is missing or not an Array.