Logic type
  • 28 Nov 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Logic type

  • Dark
    Light

Article summary

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 =  false
false
Returns true if two logic values contain the same value
not equal totrue <> false
trueReturns true if two logic values do not contain the same value
logical negationnot true
falseReturns the inverse of a value.
logical conjunctiontrue and false
falseReturns ;true if both values are true and false if either one is false
logical disconjunctiontrue or false
trueReturns 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.

example
result
true.toText()"true"

Was this article helpful?

What's Next