---
title: "init(_:)"
framework: Swift
role: symbol
role_heading: Initializer
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: "swift/uniquebox/init(_:)"
---

# init(_:)

Initializes a value of this unqiue box with the given initial value.

## Declaration

```swift
init(_ initialValue: consuming Value)
```

## Parameters

- `initialValue`: The initial value to initialize the unqiue box with.
