<!--
{
  "availability" : [
    "iOS: 27.3.0 -",
    "iPadOS: 27.3.0 -",
    "macOS: 27.3.0 -",
    "visionOS: 27.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriEvaluations",
  "identifier" : "/documentation/SiriEvaluations/IntentExpectationBuilder/buildArray(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Siri Evaluations"
    ],
    "preciseIdentifier" : "s:15SiriEvaluations24IntentExpectationBuilderO10buildArrayySay17AppIntentsTesting0hcD9Providing_pGSayAGGFZ"
  },
  "title" : "buildArray(_:)"
}
-->

# buildArray(_:)

Creates a component by combining the components from each iteration of a loop.

```
static func buildArray(_ components: [[any AppIntentExpectationProviding]]) -> [any AppIntentExpectationProviding]
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)