getenvBoolean

fun getenvBoolean(name: String, default: Boolean): Boolean

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

Return

Boolean value of that variable, if any

Parameters

name

name of the environment variable

default

default value to return if no environment variable is found