18 lines
321 B
Plaintext
18 lines
321 B
Plaintext
:sig
|
|
bool file_exists(String path)
|
|
|
|
:params
|
|
path : the path name to be checked
|
|
return value : true if the file exists
|
|
|
|
:see
|
|
>sys
|
|
|
|
:content
|
|
Checks whether the file or path specified by `path` exists.
|
|
|
|
## Related Concepts
|
|
|
|
- PHP: `file_exists()` or `is_file()`
|
|
- JavaScript / Node.js: Node `fs.existsSync()` or `fs.stat()`
|