getenv

common
fun getenv(name: String): String?

Return the value of an item in the running environment, or null if the name is not found.

common
fun getenv(name: String, default: String): String

Return the value of an item in the running environment, or a default value if not found.

common
internal fun getenv(): Map<String, String>

☠️ This function should be private, but as it is implemented in multiplatform, must be internal. Do not call this function directly outside this file.

See also

js
internal fun getenv(): Map<String, String>

See also

internal fun getenv(): Map<String, String>

See also

native
internal fun getenv(): Map<String, String>

See also