---
title: "confirm(getRestaurantGuest:completion:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/ingetrestaurantguestintenthandling/confirm(getrestaurantguest:completion:)"
---

# confirm(getRestaurantGuest:completion:)

Confirms whether you can provide the guest information.

## Declaration

```swift
optional func confirm(getRestaurantGuest guestIntent: INGetRestaurantGuestIntent, completion: @escaping @Sendable (INGetRestaurantGuestIntentResponse) -> Void)
```

```swift
optional func confirm(getRestaurantGuest guestIntent: INGetRestaurantGuestIntent) async -> INGetRestaurantGuestIntentResponse
```

## Parameters

- `guestIntent`: The intent object describing the request.
- `completion`: The handler block to execute with your response. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:

## Discussion

Discussion Implement this method to validate that you can return the current user’s information. At some point in your implementation, execute the provided completion block with a response object.
