---
title: "hash(into:)"
framework: appintents
role: symbol
role_heading: Instance Method
path: "appintents/syncableentityidentifier/hash(into:)"
---

# hash(into:)

Hashes based on the local ID if present, otherwise the stable ID.

## Declaration

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

## Discussion

Discussion This ensures consistent hashing with equality - identifiers that are equal will produce the same hash value.
