Updated on 2022-11-18 GMT+08:00

Logical Operators

Logical Operators

Operation

Description

Example

AND

If both values are true, the value is true.

a AND b

OR

If one of the two values is true, the value is true.

a OR b

NOT

If the value is false, the result is true.

NOT a