getEnvironmentVariableOrNull

Reads the value of a specified environment variable.

Return

The value of the specified environment variable as a String, or null if the variable is not set or cannot be read.

Parameters

name

The name of the environment variable to retrieve.