Returns whether the file or directory exists in the specified path.
Example:
var path = new Path ("/tmp/example.txt");
if (Files.exists (path)) {
// file or directory exists
}
| path |
Path to file or directory. |
|
true if file or directory exists, false otherwise. |