envOrNull
Returns the value of an environmental variable, loading from a .env file in the current working directory if possible.
This function caches the contents of the .env file the first time it's called - there's no way to parse the file again later.
Return
The value of the environmental variable, or null if it doesn't exist.
Parameters
name
Environmental variable to get the value for.