Skip to main content

Logic type

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

nameexampleresultdescription
equal totrue = falsefalseReturns true if two logic values contain the same value
not equal totrue <> falsetrueReturns true if two logic values do not contain the same value
logical negationnot truefalseReturns the inverse of a value.
logical conjunctiontrue and falsefalseReturns true if both values are true and false if either one is false
logical disconjunctiontrue or falsetrueReturns true if either value is true and false if both are false

Functions

namedescription
toTextconverts a logic to text

toText

Converts a logic to Text.

exampleresult
true.toText()"true"