logic is used to make decisions from multiple conditions.
These operators take Boolean
operands and produce a Boolean
- x and y: true if both x and y are true.
- x or y: true if either x or y is true.
- not x: true if x is false.
See the documentation for the Boolean
type for more information.