blob: 36daf09a78d4f844ab029597ac0bba5f4713e314 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<p>
A <code>Bool</code> is either <code>True</code> or <code>False</code>.
</p>
<p>
The <code>||</code>, <code>&&</code>, and <code>!</code> operators can be used
to manipulate bools.
</p>
<p>
The <code>||</code> and <code>&&</code> operators are short-circuiting,
meaning that if the left hand side of the operator is <code>True</code> for
<code>||</code> or <code>False</code> for <code>&&</code> then the right hand
side of the operator will not be evaluated.
</p>
<p>
The <a href="https://hexdocs.pm/gleam_stdlib/gleam/bool.html"><code>gleam/bool</code></a>
standard library module contains functions for working with bools.
</p>
|