VOOZH about

URL: https://tour.gleam.run/basics/bools/

⇱ Bools - The Gleam Language Tour


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.