buildIf(_:)
Compares content in a multistatement closure, that produces an optional view that’s visible if the argument you provide evaluates to true.
Declaration
static func buildIf<Content>(_ content: Content?) -> Content? where Content : MapContentParameters
- content:
The map builder content the expression builder operates on.
Return Value
Returns the conditional map content that meets the conditions the content builder expresses.