The TRUE_FALSE OR TRUE_FALSE operator returns a value of true if one or both of the true/false values you specify are true.
This operator can be used to form more complex IF statements. This can be useful in determining template logic.
Operator | Model | After you drag and drop the model into the script tab: | Expression returns: |
OR | ⟦TRUE_FALSE⟧ OR ⟦TRUE_FALSE⟧ | Replace both ⟦TRUE_FALSE⟧ placeholders with an expression that evaluates to a true/false value. | A true/false value. |
The following statement is an example of how you might use the OR operator with the two true/false variables Single and Widowed.
IF Single OR Widowed
//do something
END IF
After you download the example template, you can import the template to any workspace to see this example code in action.