Skip to main content
Version: v0.19.0-alpha 🚧

DirectoryGetItems

Alias:DirectoryGetItems, ls, dir

Output:Array<T>

Gets all items in a directory

ParameterTypeRequiredPositionDefault ValueExampleSummary
Directorystring✔1The path to the directory to enumerate
Patternstring2No Pattern*.jpgThe pattern to search by
IncludeFilesbool3trueWhether to include files in the results
IncludeDirectoriesbool4trueWhether to include directories in the results
Recursivebool5trueWhether to search recursively