---
title: "any(of:)"
framework: photosui
role: symbol
role_heading: Type Method
path: "photosui/phpickerfilter-swift.struct/any(of:)"
---

# any(of:)

Returns a new filter formed by OR-ing the filters in a given array.

## Declaration

```swift
static func any(of subfilters: [PHPickerFilter]) -> PHPickerFilter
```

## See Also

### Getting Filter Types

- [bursts](photosui/phpickerfilter-swift.struct/bursts.md)
- [cinematicVideos](photosui/phpickerfilter-swift.struct/cinematicvideos.md)
- [depthEffectPhotos](photosui/phpickerfilter-swift.struct/deptheffectphotos.md)
- [images](photosui/phpickerfilter-swift.struct/images.md)
- [livePhotos](photosui/phpickerfilter-swift.struct/livephotos.md)
- [panoramas](photosui/phpickerfilter-swift.struct/panoramas.md)
- [screenRecordings](photosui/phpickerfilter-swift.struct/screenrecordings.md)
- [screenshots](photosui/phpickerfilter-swift.struct/screenshots.md)
- [slomoVideos](photosui/phpickerfilter-swift.struct/slomovideos.md)
- [timelapseVideos](photosui/phpickerfilter-swift.struct/timelapsevideos.md)
- [videos](photosui/phpickerfilter-swift.struct/videos.md)
