---
title: "buildEither(second:)"
framework: foundationmodels
role: symbol
role_heading: Type Method
path: "foundationmodels/dynamicinstructionsbuilder/buildeither(second:)"
---

# buildEither(second:)

Creates a builder with the second component.

## Declaration

```swift
static func buildEither<TrueContent, FalseContent>(second content: FalseContent) -> ConditionalDynamicInstructions<TrueContent, FalseContent> where TrueContent : DynamicInstructions, FalseContent : DynamicInstructions
```

## See Also

### Building dynamic instructions

- [buildBlock()](foundationmodels/dynamicinstructionsbuilder/buildblock().md)
- [buildBlock(_:)](foundationmodels/dynamicinstructionsbuilder/buildblock(_:).md)
- [buildEither(first:)](foundationmodels/dynamicinstructionsbuilder/buildeither(first:).md)
- [buildExpression(_:)](foundationmodels/dynamicinstructionsbuilder/buildexpression(_:).md)
- [buildOptional(_:)](foundationmodels/dynamicinstructionsbuilder/buildoptional(_:).md)
