Описание тега not-operator

A unary Boolean operator that negates its operand.!TRUE = FALSE.

A unary (has only one operand) Boolean operator that negates (performs a NOT operation on) its operand. In most programming languages it is either ! (C, C++, Java, Javascript, PHP, etc.) or NOT (Basic, Pascal, Ada, etc.).

  • !TRUE = FALSE
  • !FALSE = TRUE

Negation on Wikipedia