Optional
defaultOptional
errorOptional error message to throw if the environment variable is not set and no default value is provided.
Optional
extendedWhether to extend the parsing of the boolean value to include common string representations.
The following values are considered true
:
"true"
"1"
"yes"
"on"
"y"
The following values are considered false
:
"false"
"0"
"no"
"off"
"n"
The key of the environment variable.
The default value to return if the environment variable is not set.