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

# buildEither(first:)

Creates a column result for the first of two column content alternatives.

## Declaration

```swift
static func buildEither<T, F>(first: T) -> _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 “then” branch.
