pub fn env_var_is_true(key: impl AsRef<OsStr>) -> bool
Checks whether the environment variable key is set to true or 1 or t.
key
true
1
t
Returns false if the environment variable is not set, or contains invalid characters.
false