Skip to main content

env_var

Function env_var 

Source
pub(crate) fn env_var(name: &str) -> Result<Option<String>, SymbolicError>
Expand description

Reads an environment variable like Forge’s envOr cheatcodes: None only when it is not set, and an error when it is not valid unicode.