deno.com

method Dirent.prototype.isDirectory

#Dirent.prototype.isDirectory(): boolean

Returns true if the fs.Dirent object describes a file system directory.

Return Type #

boolean