Tag Link | === Equivalence | Category | Symbol |
---|---|---|---|

Type | Symbol | Source Available | No |

Support | Preferred | Version | 7.0 |

Change | Unchanged | Data Source | Any |

Output Type | Boolean | Security | None |

Implementation | Internal | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0 |

=== performs a check to see if the left parameter is equivalent to the right parameter. It returns True if both the value and type of the parameters are equal or False otherwise.

The === symbol will not perform any casts when comparing two objects.

[If: Left_Parameter === Right_Parameter]

...

[/If]

<?LassoScript

If: Left_Parameter === Right_Parameter;

...

/If;

?>

Required Parameters | |
---|---|

Left Parameter |
The object to be compared. |

Right Parameter |
The object to be compared. |

**To check whether two values are equivalent:**

Use the equivalence symbol ===. In the following example the result is False since the string '123' does not have the same data type as the integer 123 even though the values are the same.

[If: '123' === 123]True[Else]False[/If]]

False