Skip to content

Glossary: Swift Beyond the Basics

Hashable

A standard protocol that lets a type be a dictionary key or go in a `Set`. Swift writes it for you if every property is hashable.

Where the book teaches it

Related terms

ComparableIdentifiable