Skip to content

Glossary: Swift Basics

type

Also written: types

The kind of a value, such as `Int` or `String`, which says what you can do with it. Swift never mixes types silently.

Where the book teaches it

Related terms

type inferencetype annotation