Next: Card, Up: Types reference
Bool is a type synonym
for a Domain including only the two constants false
and
true
.1
Here is an example bool type definition:
deftype "bool" bool
[1] false
is encoded by the integer 1,
and true
by the integer 2 since false
alphabetically precedes true
.