== Equals

Symbol

Symbol

Preferred

5.0

== checks to see if the value of the right parameter is equal to the value of the left parameter. It returns True if they are or False otherwise.

Note: If the parameter on the right hand side of the symbol is a negative literal it should be surrounded by parentheses. For example, (4 == (-1)).

Note that strings are compared without taking case into account. For a case sensitive comparison use [String->Equals] with the optional -Case parameter.

[If: Left_Parameter == Right_Parameter]
  ...
[/If]

<?LassoScript
  If: Left_Parameter == Right_Parameter;
  ...
  /If;
?>

== Equals