GOLF(2gg)

NAME
boolean-expressions - Golf documentation (booleans)

DESCRIPTION
A boolean expression uses operators "!" (not), "&&" (and) and "||" (or), as well as parenthesis (). For example:

        set-bool b1 = ! (b2 && b3) || b4

You can use boolean expressions anywhere a boolean is expected as an input to any statement.

You can use boolean variables as well as constants such as "true" and "false" in boolean expressions.

SEE ALSO
 Booleans

boolean-expressions set-bool See all documentation