Matches files with any of the given extensions. A leading dot is optional.
one or more extensions
the predicate
FileHound.create().match(ext('json', '.txt')); Copy
FileHound.create().match(ext('json', '.txt'));
an array of extensions
Matches files with any of the given extensions. A leading dot is optional.