---
title: "hash(into:)"
framework: Quick Look
role: symbol
role_heading: Instance Method
platforms: [visionOS 2.0+]
path: "quicklook/previewitem/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)
```

## Discussion

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