buildIf(_:)

Provides support for “if” statements in multi-statement closures, producing an optional axis content that is visible only when the condition evaluates to true.

Declaration

static func buildIf<T>(_ content: T?) -> T? where T : AxisMark