Skip to content

Glossary: Swift Basics

type annotation

Stating a type yourself after a colon, like `let bagPrice: Double = 55`.

Where the book teaches it

Related terms

typetype inference