π¦ Not
π¦ Not
The Not block flips a Boolean value (True/False): True becomes False, and False becomes True β like a switch that reverses itself.
It's useful whenever you want to trigger something only when a condition is NOT true.
π₯ Inputs
- value (Boolean): The Boolean value to invert, which may come from a condition or a variable.
π€ Outputs
- value (Boolean): The inverted value (True becomes False, False becomes True).
π‘ Example of use
Scenario: Prevent access to a secure area without a badge
- A user attempts to open a secure door.
- The system checks if the variable aBadge is True (the user has a valid badge).
- The value of aBadge is connected to the value input of the Not block.
- The output of the Not block is linked to a condition that triggers an alert.
- Behavior:
- If aBadge = False (no badge), the Not block returns True β the alert is triggered.
- If aBadge = True (valid badge), the Not block returns False β access is authorized.
βοΈ Technical Details
- Logic operation: Pure inversion (!value in programming), compatible only with Boolean data.
- Error handling: If a non-Boolean value is provided, the block returns False by default.
Documented version: v1
Updated on: 06/09/2026
Thank you!
