isDirectorySync method

bool isDirectorySync (String path)

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

Implementation

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