Deno.FileInfo.isDirectory - Deno documentation
property Deno.FileInfo.isDirectory

True if this is info for a regular directory. Mutually exclusive to FileInfo.isFile and FileInfo.isSymlink.

Type

boolean