Returns true if the given path is a directory.
path
If path is a link the link will be followed and we report on the resolved path.
isDirectory("/tmp");
bool isDirectory(String path) => core.isDirectory(path);