@brief tests if path is a directory `fs.isDirectory(path)` Returns true if the *path* points to a directory.