Share this page

# IOA.isExist

Checks the existence of a specified folder or file.

    IOA.isExist(path);

## Arguments

path. (string) The absolute path of the folder or file.

## Return value

A promise that is fulfilled with a boolean.

Returns true if the file or folder exists, and false if it does not exist, or for a disconnected or unauthenticated mapped drive.

## Example

Copy code

    IOA.isExist(TC.outputDir + "mydir").then(function(result){
      TCA.done(result);
    }).catch(function (error) {
      TCA.doneWithError(error);
    });

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