Standard Library: Boolean functions

and


[%and: a; b; c*]

bool

Performs a boolean AND operation on the operands and returns the result.

Parameters

abool
The left-hand operand.

bbool
The right-hand operand.

cbool* (optional)
Any additional right-hand operands.

not


[%not: a]

bool

Returns the inverse of the input boolean value.

Parameters

abool
The value to invert.

or


[%or: a; b; c*]

bool

Performs a boolean inclusive OR operation on the operands and returns the result.

Parameters

abool
The left-hand operand.

bbool
The right-hand operand.

cbool* (optional)
Any additional right-hand operands.

xor


[%xor: a; b]

bool

Performs a boolean XOR operation on the operands and returns the result.

Parameters

abool
The left-hand operand.

bbool
The right-hand operand.