Reference
std/env
std/env
The command line arguments and the environment variables of the process.
narra
import * as Env from "std/env"
The guide teaches it in chapter 11, Files and the system.
This page is generated by scripts/std/generate.nra from narrac query --json interface std/env. Do not edit it.
Functions
args
narra
export function args(): Array<string> uses io, alloc
Effects: io, alloc.
get
narra
export function get(name: string): Option<string> uses io, alloc
Effects: io, alloc.