---
title: "buildIf(_:)"
framework: storekit
role: symbol
role_heading: Type Method
path: "storekit/storecontentbuilder/buildif(_:)"
---

# buildIf(_:)

## Declaration

```swift
static func buildIf<Content>(_ section: Content?) -> Content? where Content : StoreContent
```

## See Also

### Building store content

- [buildBlock(_:)](storekit/storecontentbuilder/buildblock(_:).md)
- [buildEither(first:)](storekit/storecontentbuilder/buildeither(first:).md)
- [buildEither(second:)](storekit/storecontentbuilder/buildeither(second:).md)
- [buildExpression(_:)](storekit/storecontentbuilder/buildexpression(_:).md)
- [buildLimitedAvailability(_:)](storekit/storecontentbuilder/buildlimitedavailability(_:).md)
- [TupleStoreContent](storekit/tuplestorecontent.md)
