Bools

A Bool is either True or False.

The ||, &&, and ! operators can be used to manipulate bools.

The || and && operators are short-circuiting, meaning that if the left hand side of the operator is True for || or False for && then the right hand side of the operator will not be evaluated.

The gleam/bool standard library module contains functions for working with bools.