Skip to content

Glossary: Rust Basics

Condition

Also written: conditions

An expression that gives a `bool` and decides what an `if` or `while` does. It must really be a `bool`, not a number.

Where the book teaches it

Related terms

boolif / else