<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INGetRestaurantGuestIntentHandling/confirm(getRestaurantGuest:completion:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(pl)INGetRestaurantGuestIntentHandling(im)confirmGetRestaurantGuest:completion:"
  },
  "title" : "confirm(getRestaurantGuest:completion:)"
}
-->

# confirm(getRestaurantGuest:completion:)

Confirms whether you can provide the guest information.

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

## 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:

- response: The [`INGetRestaurantGuestIntentResponse`](/documentation/Intents/INGetRestaurantGuestIntentResponse) object containing the status of whether your app is able to return information about the current user. This parameter must not be `nil`.

## 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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)