is_equal_to
Checks if two values are equal.
Example
1
2
{{ 1 | is_equal_to: 1 }} => true
{{ 1 | is_equal_to: 2 }} => false
mixed | value1 | The first value to compare. Comes before the | sign. | Required |
mixed | value2 | The second value to compare |
Output
Type | Description |
---|---|
bool | True if the values are equal, false otherwise |