Skip to content

Glossary: Swift Basics

set

Also written: Set, sets

A collection of unique values with no order, written like `Set<String>`. Adding a duplicate does nothing.

Where the book teaches it

Related terms

arraydictionaryHashable