Back to Pocketbase

Function getenv

static/jsvm/functions/_os.getenv.html

latest557 B
Original Source

Function getenv

  • getenv(key): string

Getenv retrieves the value of the environment variable named by the key. It returns the value, which will be empty if the variable is not present. To distinguish between an empty value and an unset value, use [LookupEnv].

Parameters

key: string

Returns string

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc