---
title: "parseScalar(from:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/unicode/utf32/parser/parsescalar(from:)"
---

# parseScalar(from:)

Parses a single Unicode scalar value from input.

## Declaration

```swift
mutating func parseScalar<I>(from input: inout I) -> Unicode.ParseResult<Unicode.UTF32.Parser.Encoding.EncodedScalar> where I : IteratorProtocol, I.Element == UInt32
```
