Standard Library: Boolean functions
and
[%and: a; b; c*]
→ bool
Performs a boolean AND operation on the operands and returns the result.
Parameters
a
← bool
The left-hand operand.
b
← bool
The right-hand operand.
c
← bool*
(optional)
Any additional right-hand operands.
not
[%not: a]
→ bool
Returns the inverse of the input boolean value.
Parameters
a
← bool
The value to invert.
or
[%or: a; b; c*]
→ bool
Performs a boolean inclusive OR operation on the operands and returns the result.
Parameters
a
← bool
The left-hand operand.
b
← bool
The right-hand operand.
c
← bool*
(optional)
Any additional right-hand operands.
xor
[%xor: a; b]
→ bool
Performs a boolean XOR operation on the operands and returns the result.
Parameters
a
← bool
The left-hand operand.
b
← bool
The right-hand operand.