[#BloombergLP-bdls-FilesystemUtil-isDirectory-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::isDirectory :relfileprefix: ../../../ :mrdocs: `isDirectory` overloads == Synopses Declared in `<bdls_filesystemutil.h>` Return `true` if there currently exists a directory at the specified `path`, and `false` otherwise. If there is a symbolic link at `path`, follow it only if the optionally specified `followLinksFlag` is `true` (otherwise return `false`). Platform‐specific note: On Windows, a "shortcut" is not a symbolic link. The parameterized `STRING_TYPE` must be one of `bsl::string`, `std::string`, `std::pmr::string` (if supported), `bsl::string_view`, or `bslstl::StringRef`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool xref:BloombergLP/bdls/FilesystemUtil/isDirectory-04.adoc[isDirectory]( char const* path, bool followLinksFlag = false); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/isDirectory-04.adoc[_» more..._]# Same as the overload taking `const char *`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_TYPE> static bool xref:BloombergLP/bdls/FilesystemUtil/isDirectory-0a.adoc[isDirectory]( STRING_TYPE const& path, bool followLinksFlag = false); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/isDirectory-0a.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#