getEnv

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

Retrieves environment variable from the system.


inline fun getEnv(variableName: String, recoverBlock: () -> String): String(source)

Retrieves environment variable from the system, if the value is not found, recoverBlock is executed.