dirent.isDirectory()


如果 <fs.Dirent> 对象描述的是文件系统目录,则返回 true

【Returns true if the <fs.Dirent> object describes a file system directory.】