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