isDirectory function

bool isDirectory(
  1. String path
)

Returns true if the given path is a directory.

If path is a link the link will be followed and we report on the resolved path.

isDirectory("/tmp");

Implementation

bool isDirectory(String path) => core.isDirectory(path);