Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function: env()

env(key): string

Read a variable: the per-file env map (--env-file/<scenario>.env/loadEnv) first, then the process environment; errors if unset.

Parameters

key

string

Returns

string