Function get_bool

Source
pub fn get_bool<T: AsRef<OsStr>>(name: T) -> Option<bool>
Available on crate feature env only.
Expand description

Gets a boolean environment variable.

Returns None if the variable does not exist or the format is unrecognized.