isDirectory function

bool isDirectory(
  1. String path
)

Returns true if the given path is a directory.

isDirectory("/tmp");

@Throwing(ArgumentError) @Throwing(FileSystemException) @Throwing(RangeError)

Implementation

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