---
title: ParameterSummaryWhenCondition
framework: appintents
role: symbol
role_heading: Structure
path: appintents/parametersummarywhencondition
---

# ParameterSummaryWhenCondition

A type that represents a conditional statement in a parameter summary.

## Declaration

```swift
struct ParameterSummaryWhenCondition<Intent, WhenCondition, Otherwise> where Intent : AppIntent, WhenCondition : ParameterSummary, Otherwise : ParameterSummary
```

## Topics

### Creating a conditional statement

- [init(_:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:_:_:otherwise:).md)
- [init(_:_:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:_:_:_:otherwise:)-2aukt.md)
- [init(_:_:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:_:_:_:otherwise:)-1u184.md)
- [init(_:_:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:_:_:_:otherwise:)-6edqt.md)
- [init(_:_:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:_:_:_:otherwise:)-rfm5.md)
- [init(_:_:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:_:_:_:otherwise:)-3qvla.md)
- [init(_:identifier:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:identifier:_:_:otherwise:)-215ub.md)
- [init(_:identifier:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:identifier:_:_:otherwise:)-2yug9.md)
- [init(_:identifier:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:identifier:_:_:otherwise:)-3xth2.md)
- [init(_:identifier:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:identifier:_:_:otherwise:)-4f45j.md)
- [init(_:identifier:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:identifier:_:_:otherwise:)-5o5vc.md)
- [init(_:identifier:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:identifier:_:_:otherwise:)-7g15l.md)
- [init(_:identifier:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:identifier:_:_:otherwise:)-7tayy.md)
- [init(_:identifier:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:identifier:_:_:otherwise:)-9qlh.md)
- [init(widgetFamily:_:_:otherwise:)](appintents/parametersummarywhencondition/init(widgetfamily:_:_:otherwise:)-3fujn.md)
- [init(widgetFamily:_:_:otherwise:)](appintents/parametersummarywhencondition/init(widgetfamily:_:_:otherwise:)-9l1to.md)
- [EquatableComparisonOperator](appintents/equatablecomparisonoperator.md)
- [ComparableComparisonOperator](appintents/comparablecomparisonoperator.md)
- [HasValueComparisonOperator](appintents/hasvaluecomparisonoperator.md)
- [OneOfComparisonOperator](appintents/oneofcomparisonoperator.md)

### Initializers

- [init(_:_:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:_:_:_:otherwise:)-2qooo.md)
- [init(_:_:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:_:_:_:otherwise:)-8d14d.md)
- [init(_:_:_:_:otherwise:)](appintents/parametersummarywhencondition/init(_:_:_:_:otherwise:)-tyz2.md)

## Relationships

### Conforms To

- [ParameterSummary](appintents/parametersummary.md)

## See Also

### Shortcuts support

- [ParameterSummary](appintents/parametersummary.md)
- [IntentParameterSummary](appintents/intentparametersummary.md)
- [ParameterSummaryString](appintents/parametersummarystring.md)
- [ParameterSummarySwitchCondition](appintents/parametersummaryswitchcondition.md)
- [ParameterSummaryCaseCondition](appintents/parametersummarycasecondition.md)
- [ParameterSummaryDefaultCaseCondition](appintents/parametersummarydefaultcasecondition.md)
