<!--
{
  "documentType" : "article",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IntentParameter-Boolean",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Booleans"
}
-->

# Booleans

Configure the details for parameter variables that contain Boolean values.

## Topics

### Creating an intent parameter

[`convenience init(title: LocalizedStringResource, description: LocalizedStringResource?, default: Value.UnwrappedType?, displayName: Bool.IntentDisplayName?, requestValueDialog: IntentDialog?, inputConnectionBehavior: InputConnectionBehavior)`](/documentation/AppIntents/IntentParameter/init(title:description:default:displayName:requestValueDialog:inputConnectionBehavior:))

Creates an app intent parameter.

[`convenience init<Spec>(title: LocalizedStringResource, description: LocalizedStringResource?, default: Value.UnwrappedType?, displayName: Bool.IntentDisplayName?, requestValueDialog: IntentDialog?, inputConnectionBehavior: InputConnectionBehavior, resolvers: () -> Spec)`](/documentation/AppIntents/IntentParameter/init(title:description:default:displayName:requestValueDialog:inputConnectionBehavior:resolvers:))

Creates an app intent parameter that can convert the selected value.

### Specifying the display name

[`var displayName: Bool.IntentDisplayName?`](/documentation/AppIntents/IntentParameter/displayName)



---

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)