exists
檢查檔案或資料夾是否存在。
exists(path: string): boolean
path
string
// 這將檢查 file.txt 是否存在 FilesJS.exists('file.txt');