---
title: peopleInPhotoOperator
framework: intents
role: symbol
role_heading: Instance Property
path: intents/insearchforphotosintent/peopleinphotooperator
---

# peopleInPhotoOperator

The operator that defines how to search for people in the photos.

## Declaration

```swift
var peopleInPhotoOperator: INConditionalOperator { get }
```

## Discussion

Discussion This property indicates whether the photo must contain all, some, or none of the people listed in the peopleInPhoto property.

## See Also

### Getting the People in the Photos

- [peopleInPhoto](intents/insearchforphotosintent/peopleinphoto.md)
