This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
|
A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Scope : Item-based operators : == (equality) | aTbRef Site Map |
== (equality) |
Operator Type: | Mathematical |
Operator Scope of Action: | Item |
Post v4.6, the operator to test equality (i.e. 'is the same as') is two equals signs '=='. This replaces older syntax where a single equals sign was used contextually for both assignment and equality tests.
This operator is used either in agent queries or in the conditional part of an if(condition){action} code.
Equality testing can be negated, i.e. tested for a non-match, or combined with greater/less than for a range of tests as further explored in Basic Comparison Codes.
Up: Item-based operators | |
Previous: = (assignment) | Next: abs(argument) |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]