---
title: "init(uncheckedBounds:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/range/init(uncheckedbounds:)"
---

# init(uncheckedBounds:)

Creates an instance with the given bounds.

## Declaration

```swift
init(uncheckedBounds bounds: (lower: Bound, upper: Bound))
```

## Parameters

- `bounds`: A tuple of the lower and upper bounds of the range.

## Discussion

Discussion Because this initializer does not perform any checks, it should be used as an optimization only when you are absolutely certain that lower is less than or equal to upper. Using the half-open range operator (..<) to form Range instances is preferred.

## See Also

### Infrequently Used Functionality

- [hashValue](swift/range/hashvalue.md)
