isFile

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

Since

v10.10.0