Zum Hauptinhalt springen
CloudStudio

Logische Operatoren

Logische Operatoren

Logische Operatoren werden in logischen Operationen angewendet, und das Ergebnis ihrer Anwendung ist immer ein boolescher Wert (true / false).

OperatorExplanationUnary / Binary
NOTComputes the complement of the operand to the right of the operator. If the operand is true, the result is false and vice versa.Unary
ANDComputes the logical AND operation between the operands on both sides of the operator. The AND operation results in a true value only when both operands have a true value, and false otherwise.Binary
ORComputes the logical OR operation between the operands on both sides of the operator. The OR operation results in a true value if at least one of the operands has a true value, and false in any other case.Binary
XORComputes the logical XOR operation between the operands on both sides of the operator. The XOR operation results in a true value if only one of the operands has a true value, and false in any other case.Binary

Zuletzt aktualisiert am

Auf dieser Seite