halcheck 1.0
Loading...
Searching...
No Matches

◆ getenv() [1/2]

lib::optional< std::string > halcheck::lib::getenv ( const std::string & name)

Gets the value of an environment variable.

Parameters
nameThe name of the environment variable to get.
Returns
Returns lib::nullopt if the environment variable is not set. Otherwise, returns a std::string containing the value of the environment variable.