Skip to main content

get_string_or_array

Function get_string_or_array 

Source
pub fn get_string_or_array(args: &Value, key: &str) -> Option<Vec<String>>
Expand description

Helper to get either a single string or array of strings from arguments. Normalizes to a Vec.