---
title: "buildLimitedAvailability(_:)"
framework: mapkit
role: symbol
role_heading: Type Method
path: "mapkit/mapcontentbuilder/buildlimitedavailability(_:)"
---

# 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

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

```

## Parameters

- `content`: The map builder content the expression builder operates on.

## Return Value

Return Value Returns the conditional map content that meets the conditions the content builder expresses.

## See Also

### Conditionally building map content

- [buildEither(first:)](mapkit/mapcontentbuilder/buildeither(first:).md)
- [buildEither(second:)](mapkit/mapcontentbuilder/buildeither(second:).md)
- [buildExpression(_:)](mapkit/mapcontentbuilder/buildexpression(_:).md)
- [buildIf(_:)](mapkit/mapcontentbuilder/buildif(_:).md)
