Nodenode-coreReferenceFunctionsFunction: getFiles()On this pageFunction: getFiles() getFiles(directory): Promise<string[]> Get the files in the directory. Parameters directory string The directory to get the files from. Returns Promise<string[]> The list of files in the directory.