Skip to main content

get_bool

Function get_bool 

Source
pub fn get_bool(m: &HashMap<String, Value>, key: &str, def: bool) -> bool
Expand description

Extracts a boolean parameter value from the arguments map.

Returns default if the key is missing or not a Bool.