Skip to main content

Function: getProcessEnvironmentValue()

function getProcessEnvironmentValue(name: string): string | undefined;

Defined in: utils/runtime/processEnvironment.ts:29

Reads process environment values through a defensive runtime boundary.

Renderer contexts, tests, and browser-like sandboxes may not expose a runtime process object or process environment. Direct process.env?.FOO access still throws when process itself is missing, so renderer-safe code should use this helper instead.

Parameters​

name​

string

Returns​

string | undefined