fs.list

fs.list

fs.list

Function

List directory entries.

Syntax

Parameters

No parameters.

Return value

TypeDescription
ArrayReturns an array of fs objects, each element bound to a directory entry path.

Example

Notes

  • The return order is determined by the operating system directory reading order.