Skip to main content

OR

This operator compares two expressions and returns True if one or both evaluate to True.

Syntax:  

(EXPRESSION) || (EXPRESSION)

(EXPRESSION) or (EXPRESSION)

 

Examples and results:  

OR operator examples and results
ExampleResult

(resource.@org = "UK") || (resource.@org = "US")

Evaluates to True only if any of the expressions are True.

(resource.@org = "UK") or (resource.@org = "US")

Same as above but using "or" notation instead of "||".