---
title: "init(_:)"
framework: foundationmodels
role: symbol
role_heading: Initializer
path: "foundationmodels/conditionaldynamicinstructions/init(_:)"
---

# init(_:)

Creates a dynamic instructions instance that selects between two conditions.

## Declaration

```swift
init(_ branch: ConditionalDynamicInstructions<TrueContent, FalseContent>.Branch)
```

## Parameters

- `branch`: The condition to evaluate.

## See Also

### Creating an instance

- [ConditionalDynamicInstructions.Branch](foundationmodels/conditionaldynamicinstructions/branch.md)
