Less than or equal to
- Last Updated: December 12, 2022
- 1 minute read
- Corticon.js
- Documentation
SYNTAX
| DateTime* | <DateTime1>
<= <DateTime2> |
| Number | <Number1>
<= <Number2>
|
| String | <String1>
<= <String2> |
| DateTime* | Returns a value of true if <DateTime1> is less than or equal to <DateTime2>. This is equivalent to
<DateTime1> occurring “on or before”
<DateTime2> |
| Number | Returns a value of true if <Number1> is less than or equal to <Number2>. Different numeric data types
may be compared in the same expression. |
| String | Returns a value of true if <String1> is less than or equal to <String2>.
|
* includes DateTime and Date data types
The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies, with the following exception: less than or equal to may also be used in Conditional Value Sets & Cells (section 5 of Sections of Rulesheet that correlate with usage restrictions).
The following Rulesheet uses less than or equal
to to test whether string1 is less than or equal
to string2.
![]()
A sample Ruletest provides two examples. Input and Output panels are shown below:
![]()