How to access rule operators
- Last Updated: December 19, 2022
- 2 minute read
- Corticon.js
- Documentation
The Studio tools for accessing operators provide icons with decorations, and tooltips.
Icons
Rule Operators are assigned icons which provide the user with information about their usage. The following table describes these icons:
| Icon | Where Found | Purpose | Examples |
|---|---|---|---|
| General, Literals category | indicates special values or constants | null, true, other | |
| General, Functions category | indicates system values that are automatically retrieved upon rule execution. | now, today | |
| Operators, Boolean category | this special “unary” operator icon is used only with not | not | |
| Operators, all categories | indicates the operator uses a period “.” to attach to its operand. Most operators with this icon typically fell into the previous “function” category. | day, round, contains | |
| Operators, all categories | indicates the operator is used between two operands. Most operators with this icon typically fell into the previous “comparison” category. | equals, multiply |
Tool tips
In Corticon.js Studio, moving the
mouse over a Vocabulary operator and pausing, or hovering for a moment, causes a dynamic
tool tip text box to display. This tool tip contains information about operator syntax,
return data type, and description, all of which are supplied in more detail in this set
of topics. For questions not answered by the tool tip, refer to the detailed operator
descriptions in this publication. The following figure shows a typical tool tip for the
dateTime operator .monthsBetween: