isDirectory

Returns true if the fs.Dirent object describes a file system directory.

Since

v10.10.0