---
title: "init(from:)"
framework: musicunderstanding
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: "musicunderstanding/musicunderstandingsession/rangedvalue/init(from:)"
---

# init(from:)

Creates a ranged value by decoding from the given decoder.

## Declaration

```swift
init(from decoder: any Decoder) throws
```
