Equals when used as an assignment
- Last Updated: October 26, 2026
- 2 minute read
- Corticon.js
- Version 2.4
- Documentation
SYNTAX
| Boolean |
|
| DateTime* |
|
| Number |
|
| String |
|
| Boolean |
Assigns the truth value of |
| DateTime* |
Assigns the value of |
| Number |
Assigns the value of |
| String |
Assigns the value of |
* includes DateTime and Date data types.
USAGE RESTRICTIONS
The Operators row of the table in Vocabulary usage restrictions does not apply. Special exceptions: equals used as an assignment may only be used in Action Rows (section 5 in Sections of Rulesheet that correlate with usage restrictions).
The following Rulesheet uses equals twice: in an Action row to assign a value to decimal1, and in an Action row to assign a value to string1 based on the value of boolean1.
![]()
A sample Ruletest provides two examples of boolean1. Input and Output panels are shown below:
![]()