Share this page

# UtilsA.getEnv

Returns the value of the specified environment variable. Returns an empty string if the specified variable does not exist.

    UtilsA.getEnv(name);

## Arguments

name. (string) Name of the environment variable.

## Return value

A promise fulfilled with a string upon success.

## Example

Copy code

    UtilsA.getEnv("PATH").then(function(path){
      TCA.done(path);
    }).catch(function (error) {
      TCA.doneWithError(error);
    });

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: