uce/site/doc/pages/file_exists.txt

17 lines
310 B
Plaintext

:sig
bool file_exists(String path)
:params
path : the path name to be checked
return value : true if the file exists
:desc
Checks whether the file or path specified by 'path' exists.
:see
>sys
:related
**PHP:** `file_exists()` or `is_file()`
**JavaScript / Node.js:** Node `fs.existsSync()` or `fs.stat()`