Function: getUrl()
Function: getUrl()
Get the specified env variable value as a URL.
Param
The environment variable key.
Param
Options for retrieving the value.
Call Signature
function getUrl(key): undefined | string;
Get the specified env variable value as a URL.
Parameters
key
string
The environment variable key.
Returns
undefined
| string
The value as a URL.
Param
The environment variable key.
Param
Options for retrieving the value.
Call Signature
function getUrl(key, options): string;
Get the specified env variable value as a URL.
Parameters
key
string
The environment variable key.
options
Options for retrieving the value.
Returns
string
The value as a URL.
Param
The environment variable key.
Param
Options for retrieving the value.