Skip to content

Glossary: Swift Beyond the Basics

identity

Also written: ===, !==

Being the same object. `===` is true when two references point at one object, and `!==` when they don't, unlike `==`, which compares values.

Where the book teaches it

Related terms

classvalue semantics