How to use "Or" Operator

Hi,

This is a rather silly question but how do I use the “Or” operator?

In my sample use case, I’m checking if a value is “A” or “B”.

So I’ve tried writing it this way:

if(yeah1=A | yeah2=B;True;False)

But it always gets reformatted and extra parentheses are added when i run it. It never returns False.

image

Any clues on how to use it?

You can do this, this way,

{{if(1.yeah1 = “A” | 1.yeah1 = “B”; “True”; “False”)}}

1 Like