---
title: "insert(_:for:)"
framework: coreai
role: symbol
role_heading: Instance Method
path: "coreai/inferencefunction/mutableviews/insert(_:for:)-1b2yx"
---

# insert(_:for:)

Insert a new value to the output views.

## Declaration

```swift
mutating func insert(_ value: inout some InferenceValue.MutableViewRepresentable & ~Copyable, for name: String)
```

## Parameters

- `value`: The value which will be updated in-place.
- `name`: The name of the value that this view should be used for.
