glob(pattern)#

Return an array of filenames or directories that matches the specified pattern.

Type#

Arguments Return type
string list(string)

Usage#

"${glob("*.txt")}"

The output of the code above could be:

["a.txt", "b.txt", "c.txt"]