Contents

buildEither(second:)

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

Declaration

static func buildEither<T, F>(second: F) -> _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 “else” branch.

See Also

Building a row from conditionals