---
title: OneOfComparisonOperator.oneOf
framework: appintents
role: symbol
role_heading: Case
path: appintents/oneofcomparisonoperator/oneof
---

# OneOfComparisonOperator.oneOf

An operator that determines if the parameter is equal to one of the values in the array.

## Declaration

```swift
case oneOf
```
