method Dirent.prototype.isDirectory Usageimport { Dirent } from "node:fs"; Dirent.prototype.isDirectory(): boolean Returns true if the fs.Dirent object describes a file system directory. Returns true if the fs.Dirent object describes a file system directory. Return Type boolean