getEnv

expect fun getEnv(name: String): String?(source)

Retrieves the value of an environment variable.

Return

The value of the variable, or null if it is not defined.

Parameters

name

The name of the environment variable.

actual fun getEnv(name: String): String?(source)

Retrieves the value of an environment variable.

Return

The value of the variable, or null if it is not defined.

Parameters

name

The name of the environment variable.