Boolean values
Raku provides an enumeration Bool
with two values, True
and False
. Values of enumerations can be used as ordinary values or as mixins:
For a discussion of Boolean context (how Raku decides whether something is True or False): https://docs.raku.org/language/contexts#index-entry-Boolean_context.
Last updated