Logical Operators in Trillium

Logical operators are used to determine the logic between variables or values:

The Relational Operators in Trillium are the following:

  • && (AND) – It is used to check if both the operands are true.
  • || (OR) – These operators are used to check if at least one of the operand is true.
  • ! (NOT) – Used to check if the operand is false

A Basic Conditional Statement with Logical Params

If the logical statement is satisfied (it is true), then the program will return the value 1, otherwise, if the relational statement is not satisfied (it is false), the program will return the value 0.

An error has occurred. This application may no longer respond until reloaded. Reload 🗙