getEnv

fun getEnv(key: String): String?(source)

Retrieves the value of the environment variable with the specified key.

Return

The value of the environment variable, or null if the variable is not found.

Parameters

key

The key of the environment variable.