Handlebars Comparison Functions
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. |
| IsNull | Checks if a value is null. |
| 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. |