Contents

buildEither(first:)

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

Declaration

static func buildEither<T, F>(first: T) -> _ConditionalContent<T, F> where Value == T.TableRowValue, T : TableRowContent, F : TableRowContent, T.TableRowValue == F.TableRowValue

Discussion

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

See Also

Building a row from conditionals