public static final class SoyTypes.SoyTypeComparisonOp extends Object implements SoyTypes.SoyTypeBinaryOperator
SoyType instances are not comparable, otherwise always return BoolType.
In particular,
Note that string-number comparisons and string-string comparisons do NOT work with Java
backends (both tofu and jbcsrc). These comparisons yield to a RuntimeException. In
contrast, JS backend allows these comparisons.
| Constructor and Description |
|---|
SoyTypeComparisonOp() |