Garden 🌻

get_env()

Get the value of an environment variable.

Returns Some(value) if the environment variable is set, or None if it is not set.

Example
get_env("HOME") //-> Some("/home/user")
get_env("NO_SUCH_VAR") //-> None
Source Code
public fun get_env(name: String): Option<String> {
  __BUILT_IN_IMPLEMENTATION
}