---
title: "init(rawValue:)"
framework: BrowserKit
role: symbol
role_heading: Initializer
platforms: [iOS 18.4+, iPadOS 18.4+]
path: "browserkit/beavailability/context/init(rawvalue:)"
---

# init(rawValue:)

Creates a new context with the given value of the underlying type.

## Declaration

```swift
init?(rawValue: Int)
```

## Parameters

- `rawValue`: An integer that’s the raw value of the enumeration.
