---
title: "disambiguation(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/inrestaurantresolutionresult/disambiguation(with:)"
---

# disambiguation(with:)

Creates an object whose resolution requires the user to select from among the specified objects.

## Declaration

```swift
class func disambiguation(with restaurantsToDisambiguate: [INRestaurant]) -> Self
```

## Parameters

- `restaurantsToDisambiguate`: An array of restaurants from which to select. Specify as few items as possible, and preferably no more than five.

## Return Value

Return Value A new INRestaurantResolutionResult object.

## Discussion

Discussion Use this method when you cannot resolve the restaurant uniquely and need the user to select from a limited set of possible values.

## See Also

### Creating a Resolution Result Object

- [success(with:)](intents/inrestaurantresolutionresult/success(with:).md)
- [confirmationRequired(with:)](intents/inrestaurantresolutionresult/confirmationrequired(with:).md)
