Articles on: Blocks Creator

⬜ No Reverse

⬜ No Reverse


The No / Invert block allows you to invert a Boolean value (True/False).


This block is essential for creating negative logic conditions, such as checking that a condition is not met before performing an action.


πŸ“₯ Entries


  • value (Boolean): The Boolean value to invert, which may come from a condition or a variable.


πŸ“€ Outings


  • value (Boolean): The inverted value (True becomes False, False becomes True).


πŸ’‘ Example of use


Scenario: Prevent access to a secure area without a badge


  1. A user attempts to open a secure door.
  2. The system checks if the variable aBadge is True (the user has a valid badge).
  3. The value of aBadge is connected to the value input of the No block.
  4. The output of the No block is linked to a condition that triggers an alert.
  5. Behavior:
  • If aBadge = False (no badge), the No block returns True β†’ the alert is triggered.
  • If aBadge = True (valid badge), the No 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.

Updated on: 04/03/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!