Skip to main content

var

Function var 

Source
pub fn var(_key: &str) -> Result<String, VarError>
Expand description

Returns the value of the environment variable _key, reading from the process environment natively or from process.env under Node.js. Returns VarError::NotPresent if the variable is unset.