zip.loadAsync(files).then(function(directory:any){
if (directory.folder("Mary")){
console.log("fail");
}
else{
directory.folder("Mary").forEach(function (filename: any) {Console.log(filename);});
};
}
I am attempting to verify the presence and non-null status of the folder "Mary" before executing a specific action on each file within it. However, I am unsure how to proceed.