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

# buildEither(first:)

Creates a builder with the first component.

## Declaration

```swift
static func buildEither(first component: some InstructionsRepresentable) -> Instructions
```

## See Also

### Building instructions

- [buildArray(_:)](foundationmodels/instructionsbuilder/buildarray(_:).md)
- [buildBlock(_:)](foundationmodels/instructionsbuilder/buildblock(_:).md)
- [buildEither(second:)](foundationmodels/instructionsbuilder/buildeither(second:).md)
- [buildExpression(_:)](foundationmodels/instructionsbuilder/buildexpression(_:).md)
- [buildLimitedAvailability(_:)](foundationmodels/instructionsbuilder/buildlimitedavailability(_:).md)
- [buildOptional(_:)](foundationmodels/instructionsbuilder/buildoptional(_:).md)
