Sty -OPA - Rego : Comparing and Constructing Values
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
How to do some Equality Checks
Equality Expressions :
Array is above one , below is sets . Sets are sometimes surprising to people.
These two sets has got all the same element . The order in which they appear is Irrelevant and the number of times each of this appears is irrelevant.
The x in the first bracket , it finds x is not the same as the one on the right and it assume x as variable and assigns the value 2 on the right to x on the left.
Rego Build in Functions :
Build in functions do a loads of comparisons and functions .
Comments
Post a Comment