Skip to main content

is_truthy

Function is_truthy 

Source
pub fn is_truthy(val: &str) -> bool
Expand description

Check if a string is truthy This will be used to evaluate environment variables or any other subjective configuration parameters that can be set by the user that should be evaluated as a boolean value.