env
Retrieves the value of an environment variable.
Example:
.env {HOME}Content copied to clipboard
On platforms without an environment, such as browsers, this function raises an error.
Return
the value of the environment variable as a string, or none if not set
Parameters
name
name of the environment variable to look up
Permissions
process
to access environment variables