getenvLong

fun getenvLong(name: String, default: Long, minValue: Long = 1): Long

Return the value of an item in the running environment as a Long, or a default value if not found or if the value cannot be parsed as a Long.

Return

Long value of the environment variable or default

Parameters

name

name of the environment variable

default

default value

minValue

minimum value