blob: 3cbf0d43569d342ca7ff45530bede21ce8221929 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<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" target="_blank">
<code>gleam/bool</code>
</a>
standard library module contains functions for working with bools.
</p>
|