---
title: "buildEither(second:)"
framework: Siri Evaluations
role: symbol
role_heading: Type Method
platforms: [iOS 27.3+, iPadOS 27.3+, macOS 27.3+, visionOS 27.3+]
path: "sirievaluations/onscreenentityexpectationbuilder/buildeither(second:)"
---

# buildEither(second:)

Creates a component from the second branch of a conditional statement.

## Declaration

```swift
static func buildEither(second component: [any ResolvableAppEntityExpectation]) -> [any ResolvableAppEntityExpectation]
```

## See Also

### Building results

- [buildArray(_:)](sirievaluations/onscreenentityexpectationbuilder/buildarray(_:).md)
- [buildBlock(_:)](sirievaluations/onscreenentityexpectationbuilder/buildblock(_:).md)
- [buildEither(first:)](sirievaluations/onscreenentityexpectationbuilder/buildeither(first:).md)
- [buildExpression(_:)](sirievaluations/onscreenentityexpectationbuilder/buildexpression(_:).md)
- [buildOptional(_:)](sirievaluations/onscreenentityexpectationbuilder/buildoptional(_:).md)
