Contents

buildEither(second:)

Compares content in a multistatement closure, resulting in use of the conditional content if the second argument you provide evaluates to true.

Declaration

static func buildEither<TrueContent, FalseContent>(second: FalseContent) -> _ConditionalMapContent<TrueContent, FalseContent> where TrueContent : MapContent, FalseContent : MapContent

Parameters

  • second:

    The content that represents the false content element to compare against.

Return Value

Returns the conditional map content that meets the conditions the content builder expresses.

See Also

Conditionally building map content