readDirSync
readDirSync(path): null | string[]
Synchronously returns an array of the file names within path.
Parameters
| Parameter | Type |
|---|---|
path | PathLike |
Returns
null | string[]
readDirSync(path): null | string[]
Synchronously returns an array of the file names within path.
| Parameter | Type |
|---|---|
path | PathLike |
null | string[]