isDirSync method

bool isDirSync()

Returns true if the path exists on disk and is pointing at a directory. Does not follow links.

Implementation

bool isDirSync() => isWindows ? WindowsPath(_string).isDirSync() : UnixPath(_string).isDirSync();