Alpha. Vary is under active development and not ready for production use. Syntax, APIs, performance, and behaviour may change between releases.
Environment
import env
let home = env.get("HOME")
if home != None {
print(home)
}
| Function | Returns | Description |
|---|---|---|
env.get(name) | Str? | Get environment variable by name, or None if not set |