Contents

buildLimitedAvailability(_:)

Provides support for “if” statements with “available” macro clauses in multi-statement closures, producing conditional content for the “then” branch, such the conditionally-available branch.

Declaration

static func buildLimitedAvailability(_ content: any MapContent) -> some MapContent

Parameters

  • 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.

See Also

Conditionally building map content