Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.