Skip to main content

EQUAL

This operator is case insensitive and returns True if the compared expressions are equal. If a list is used, only one value needs to match.

Syntax:  

(EXPRESSION) = (EXPRESSION)

 

Examples and results:  

EQUAL operator examples and results
ExampleResult

Given that @org is "uk" in the access request.

resource.@org = "UK" evaluates to True because the operator is case insensitive.

Given that @org is "UK" in the access request.

resource.@org = "UK" evaluates to True.

Given that @org is "United Kingdom" in the access request.

resource.@org = "UK" evaluates to False.
Given that resource@group is "Sales" in the access request, and user.group contains Sales.resource.@group = "Sales" evaluates to True because user.group contains Sales.