Boolean Expressions

Last update: Edit

1 Introduction

Boolean expressions can be used to perform logical operations such as checking if two conditions hold.

2 and

Combines two Boolean expressions and only returns True if both of the expressions evaluate to True.

3 or

Combines two Boolean expressions, and returns True if at least one of the expressions evaluates to True.

4 not

The function ‘not’ negates the specified Boolean expression.

4.1 Input

An expression of type Boolean.

4.2 Output

Returns the negation of the specified expression. If the expression evaluates to True, it returns False; otherwise it returns True.