This table shows the valid combinations of types for comparison operators. To understand the calculation of the expression A > B, find the intersection of the row for A's type and the column for B's type. Consult the numbered notes for the details of casting or conversion.
The operator ~= evaluates using equalsIgnoreCase().
|
|
|
|
|
|
|
|
Other (text) |
|
|
|
1 |
3 |
X |
3 |
3 |
3 |
X |
X |
|
|
3 |
1 |
X |
3 |
3 |
3 |
X |
X |
|
|
X |
X |
1 |
X |
3 |
3 |
X |
X |
|
|
3 |
3 |
X |
2 |
2 |
2 |
X |
X |
|
|
3 |
3 |
3 |
2 |
2 |
2 |
X |
X |
|
|
3 |
3 |
3 |
2 |
2 |
2 |
X |
X |
|
|
X |
X |
X |
X |
X |
X |
4 |
X |
|
Other (text) |
X |
X |
X |
X |
X |
X |
X |
5 |
Legend:
| X |
A casting, promotion, or conversion is not supported. Pega Platform reports an error. |
| 1 |
Permitted. Depending upon complexity of expression and intermediate conversions that may have occurred, use either the original ClipboardProperty String form or Java |
| 2 |
Permitted. Converts |
| 3 |
Permitted. Converts to the preferred Java type (and if necessary, promote as described in note 2) and performs the operation. |
| 4 |
Permitted. Converts to Java boolean and performs the operation. |
| 5 |
Permitted. Evaluate using This is not locale-sensitive. |