buildIf(_:)
Produces optional content for conditional statements in multi-statement closures that’s only included when the condition evaluates to true.
Declaration
static func buildIf<Content>(_ content: Content?) -> Content?Produces optional content for conditional statements in multi-statement closures that’s only included when the condition evaluates to true.
static func buildIf<Content>(_ content: Content?) -> Content?