---
title: "init(rawValue:)"
framework: lightweightcoderequirements
role: symbol
role_heading: Initializer
path: "lightweightcoderequirements/platformtype/value/init(rawvalue:)"
---

# init(rawValue:)

Creates a new instance with the specified raw value.

## Declaration

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

## Discussion

Discussion If there is no value of the type that corresponds with the specified raw value, this initializer returns nil
