anyFolderExists method

bool anyFolderExists(
  1. List<String> foldersPaths
)

Implementation

bool anyFolderExists(List<String> foldersPaths) {
  for (String folderPath in foldersPaths) {
    if (Directory(folderPath).existsSync()) {
      return true;
    }
  }
  return false;
}