Logmanager dokumentace
Přepnout tmavý/světlý/automatický režim Přepnout tmavý/světlý/automatický režim Přepnout tmavý/světlý/automatický režim Zpět na domovskou stránku

Logic negation (NOT operator)

Tato sekce je dostupná pouze v angličtině.

This operator works on boolean values where it inverts their them.

The value of true becomes false and vice versa.

However, in case the input variable is not a boolean value, this operator negates the effect of variable testing. That means empty types or None becomes True and non empty variables becomes False.

Block XML representation

XML representation of the logic_negate block

<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="logic_negate">
    <value name="BOOL">
      <block type="logic_boolean">
        <field name="BOOL">TRUE</field>
      </block>
    </value>
  </block>
</xml>

Example of visual representation

"Not" - negation

“Not” - negation