Equals when used as a comparison
- Last Updated: October 26, 2026
- 2 minute read
- Corticon.js
- Version 2.4
- Documentation
SYNTAX
| Boolean |
|
| DateTime |
|
| Number |
|
| String |
|
| Boolean |
Returns a value of true if |
| DateTime |
Returns a value of true if |
| Number |
Returns a value of true if |
| String |
Returns a value of true if |
*includes DateTime and Date data types
USAGE RESTRICTIONS
The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.
The following Rulesheet uses equals to Ruletest whether decimal1 equals decimal2, and assign a value to string1 based on the result of the comparison.
![]()
A sample Ruletest provides two examples. Input and Output panels are shown below:
![]()