Use the Handlebars comparison functions to compare values and return a boolean value based on the result of the comparison.
This section contains information about this Handlebars function.
| Function Name | Description |
|---|---|
| and | Returns true if two values are true. |
| compare | Compares two values using a specified operator. |
| equals | Compares two values for equality. |
| if | Conditionally renders a block based on whether a value evaluates to true. |
| iif | Evaluates an expression and returns one of two values based on whether the expression is true or false. |
| isEmpty | Checks if a value evaluates to null or empty. |
| not | Returns true if a value is false. |
| or | Returns true if at least one value is true. |
| unless | Conditionally renders a block based on whether a value evaluates to false. |