| Operator Type: | Operator |
| Operator Scope of Action: | Query |
| Operator Purpose: | Boolean (query) |
The pipe, |, is using in queries and conditional statements as a logical OR join. Thus:
if ($HasStock == true | $Price > 20) {$Badge="ok"}
The note's $Badge is only set if either the first or the second argument are true.
See also the AND join and conditional statements using multiple arguments.
