Hi, I cant find any simple way to verify if a directory contains a certain file type (by extension)
Basicaly what I want goes as follows:
if (directory contains *.mov) {
some stuff...
} else {
different stuff...
}
I could read the directory into an array, then filter through it but I was wondering if there was a simple function to do this?