Facer Documentation logo

For the ultra adventurous, the EQUALITY TEST portion of a Facer conditional also supports a maximum of 3 basic Boolean operators in any given formula. (Basic boolean operators are || and &&). Have fun!

A note about boolean operators in conditionals, it's important to avoid putting parentheses around equality and boolean expressions. Here are some examples:

These will be ok:

$ 1 == 1 || 1 == 1 ? 1 : 0 $

$ (1+1) == (1) || (1) == (1) ? 1 : 0 $

These will have unexpected results:

$ (1 == 1) || (1 == 1) ? 1 : 0 $

$ (1 == 1 || 1 == 1) ? 1 : 0 $