The exists function is established to judge a file or folder is existed or not.
var tf=file.exists("myFile.txt");
var tf=file.exists("myFolder");
Calling | Returning |
---|---|
file . exists ( path ) | Boolean |
Parameters | Type | Description |
---|---|---|
path | String | The relative file or folder path to the storage. |