Bools
A Bool is a either True or False.
Bool は True か 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.
|| 演算子と && 演算子は短絡演算子(ショートサーキット)です。つまり、|| 演算の左項が True であった場合、あるいは && 演算の左項が False であった場合、それらの右項は評価されません。
The gleam/bool
standard library module contains functions for working with bools.
gleam/bool 標準ライブラリモジュールには真偽値を扱う関数が含まれています。