getAllFiles
Gets all JavaScript/TypeScript files from a directory | Function
getAllFiles(path: string, foldersOnly?: boolean)
Parameter
Description
Type
path
The path to the directory
String
foldersOnly?
Only find folders, not files
Boolean
Returns
string[]
Last updated