A value of type logic is either true or false. It can be used to represent "yes or no" questions in your configurator (on/off, with/without, etc.)
Operations
| name | example | result | description |
|---|
| equal to | true = false | false | Returns true if two logic values contain the same value |
| not equal to | true <> false | true | Returns true if two logic values do not contain the same value |
| logical negation | not true | false | Returns the inverse of a value. |
| logical conjunction | true and false | false | Returns true if both values are true and false if either one is false |
| logical disconjunction | true or false | true | Returns true if either value is true and false if both are false |
Functions
| name | description |
|---|
| toText | converts a logic to text |
toText
Converts a logic to Text.
| example | result |
|---|
true.toText() | "true" |