Skip to main content

get_string

Function get_string 

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

Extracts a string parameter value from the arguments map.

Returns Err if the key is missing or not a String.