---
title: "hash(into:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/bool/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 Boolean

- [customMirror](swift/bool/custommirror.md)
- [customPlaygroundQuickLook](swift/bool/customplaygroundquicklook.md)
- [hashValue](swift/bool/hashvalue.md)
