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

# buildExpression(_:)

Builds an expression within the map content builder.

## Declaration

```swift
static func buildExpression<Content>(_ content: Content) -> Content where Content : 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)
- [buildIf(_:)](mapkit/mapcontentbuilder/buildif(_:).md)
- [buildLimitedAvailability(_:)](mapkit/mapcontentbuilder/buildlimitedavailability(_:).md)
