---
title: "hash(into:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/unicode/scalar/hash(into:)"
---

# hash(into:)

Hashes the essential components of this value by feeding them into the given hasher.

## Declaration

```swift
func hash(into hasher: inout Hasher)
```

## Parameters

- `hasher`: The hasher to use when combining the components of this instance.

## See Also

### Inspecting a Scalar

- [value](swift/unicode/scalar/value.md)
- [properties](swift/unicode/scalar/properties-swift.property.md)
- [Unicode.Scalar.Properties](swift/unicode/scalar/properties-swift.struct.md)
- [isASCII](swift/unicode/scalar/isascii.md)
