Skip to main content

config_bool

Function config_bool 

Source
pub fn config_bool(config: &[(String, Value)], key: &str) -> Option<bool>
Expand description

Reads a boolean config value, returning None when absent or not a bool.