Skip to main content
Version: v0.17.0

DirectoryGetItems

Alias:DirectoryGetItems, ls, dir

Output:Array<T>

Gets all items in a directory

ParameterTypeRequiredPositionDefault ValueExampleSummary
Directorystring1The 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