---
title: "makeContainer(context:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/array/makecontainer(context:)"
---

# makeContainer(context:)

Creates a container that represents this array of intent values.

## Declaration

```swift
func makeContainer(context: IntentValueContainer.ConversionContext) -> IntentValueContainer
```

## Parameters

- `context`: The context to use for the conversion.

## Return Value

Return Value An intent value container representing this array.

## Discussion

Discussion This method converts each element in the array to its container representation and wraps them in an ArrayContainerElement.
