Skip to main content

AND

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

Syntax:  

(EXPRESSION) && (EXPRESSION)

(EXPRESSION) and (EXPRESSION)

 

Examples and results:  

AND operator examples and results
ExampleResult
(resource.@org = "UK") && (user.name = "John Doe")Evaluates to True only if both expressions are True.
(resource.@org = "UK") and (user.name = "John Doe")Same as previous, but using "and" notation instead of "&&".

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!