MisFile
Bun

method

fs.Dirent.isFile

isFile(): boolean;

Returns true if the fs.Dirent object describes a regular file.