Search the reference...
/
method
Returns true if the fs.Dirent object describes a file system directory.
true
fs.Dirent