This is a series of MATLAB style relational operators for Handlebars.
- eq - equal to
- ne - not equal to
- lt - less than
- gt - greater than
- le - less than or equal to
- ge - greater than or equal to
With any helper add values a, b
to be compared if their condition validates
Include the operators needed in your application. Then condition in your template, for example:
{{#eq a b}}
content when condition validates
{{else}}
content in any other case
{{/eq}}
Created by Makis Tracend
This works fine in Node: