Skip to main content

env_flag

Function env_flag 

Source
pub fn env_flag(name: &str) -> bool
Expand description

Whether environment variable name is set to 1, true or yes, as pi reads PI_OFFLINE.