EntryInfo.isDirectory

bool isDirectory() const @safe pure nothrow @nogc

Returns true if this is a directory.