---
title: "init(prependedItems:appendedItems:deletedItems:)"
framework: usdkit
role: symbol
role_heading: Initializer
path: "usdkit/usdlayer/listoperation/init(prependeditems:appendeditems:deleteditems:)"
---

# init(prependedItems:appendedItems:deletedItems:)

Creates a list operation with the given prepended/appended/deleted items. Pass no arguments for an empty operation with no slots authored.

## Declaration

```swift
init(prependedItems: [T] = [], appendedItems: [T] = [], deletedItems: [T] = [])
```

## Parameters

- `prependedItems`: Items to add to the front during composition.
- `appendedItems`: Items to add to the back during composition.
- `deletedItems`: Items to remove during composition.
