isDirectorySync method

bool isDirectorySync (String path)

Synchronously checks if typeSync(path) returns FileSystemEntityType.DIRECTORY.

Implementation

static bool isDirectorySync(String path) =>
    (_getTypeSync(path, true) == FileSystemEntityType.DIRECTORY);