Skip to content

Glossary: Go Basics

bool

Also written: boolean

A type that holds either `true` or `false`. Every comparison gives a `bool`.

Where the book teaches it

Related terms

Comparison operators