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 : MapContentParameters
- second:
The content that represents the
falsecontent element to compare against.
Return Value
Returns the conditional map content that meets the conditions the content builder expresses.