Skip to content

Glossary: Swift Basics

exhaustive

A `switch` is exhaustive when it covers every possible value. Swift refuses to compile one that isn't.

Where the book teaches it

Related terms

switchenum