method Dirent.prototype.isDirectory Usage in Deno```typescript import { Dirent } from "node:node__fs.d.ts"; ``` Dirent.prototype.isDirectory(): boolean Returns `true` if the `fs.Dirent` object describes a file system directory. Return Type boolean