Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 513 Bytes

file.exists.md

File metadata and controls

23 lines (16 loc) · 513 Bytes

file.exists

The exists function is established to judge a file or folder is existed or not.

Sample

var tf=file.exists("myFile.txt");
var tf=file.exists("myFolder");

API

CallingReturning
file . exists ( path )Boolean
ParametersTypeDescription
pathStringThe relative file or folder path to the storage.