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

# buildEither(second:)

Creates a row result for the second of two row content alternatives.

## Declaration

```swift
static func buildEither<T, F>(second: F) -> _ConditionalContent<T, F> where RowValue == T.TableRowValue, Sort == T.TableColumnSortComparator, T : TableColumnContent, F : TableColumnContent, T.TableColumnSortComparator == F.TableColumnSortComparator, T.TableRowValue == F.TableRowValue
```

## Discussion

Discussion This method provides support for “if” statements in multi-statement closures, producing conditional content for the “else” branch.
