[#BloombergLP-bdls-FilesystemUtil-isDirectory-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::isDirectory :relfileprefix: ../../../ :mrdocs: Return whether `path` names an existing directory. == Synopsis Declared in `<bdls_filesystemutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_TYPE> static bool isDirectory( STRING_TYPE const& path, bool followLinksFlag = false); ---- == Description Same as the overload taking `const char *`. == Return Value `true` if `path` is a directory, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *path* | filesystem path to test | *followLinksFlag* | whether to follow symbolic links |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#