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