Environment variable getter with fallback

[system/Environment variable getter with fallback]


Gets the value for a single variable from the system environment by name or the provided default when not found.


Keywords: environment, variable

Input ports

  • name: string

    Receives the name of the environment variable.

  • default: string

    Receives the default value in case the variable is not found in the environment.

Output ports

  • value: string

    Sends the value of the environment variable or the default value when not found.

Last updated