method Dir.prototype.readSync
Usage in Deno
```typescript import { Dir } from "node:node__fs.d.ts"; ```
Dir.prototype.readSync(): Dirent | null
Synchronously read the next directory entry as an `fs.Dirent`. See the
POSIX [`readdir(3)`](http://man7.org/linux/man-pages/man3/readdir.3.html) documentation for more detail.
If there are no more directory entries to read, `null` will be returned.
Directory entries returned by this function are in no particular order as
provided by the operating system's underlying directory mechanisms.
Entries added or removed while iterating over the directory might not be
included in the iteration results.
Dirent | null