Skip to content

Glossary: Swift Basics

expression

Also written: expressions

Code that produces a value, such as `2 + 3`. An `if` can also be an expression that gives a value.

Where the book teaches it

Related terms

implicit return