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