I've come across multiple scenarios where I need to check the logical NOT condition of a value such as:
if(!condition) {
// do stuff
}
Currently, I use the {{#else}} block to handle this (with an empty {{#if}} section), but it would be nice to not have unnecessary empty "if" sections which can clutter the templates.
Awesome work. I have a small request:
I've come across multiple scenarios where I need to check the logical NOT condition of a value such as:
Currently, I use the
{{#else}}
block to handle this (with an empty{{#if}}
section), but it would be nice to not have unnecessary empty "if" sections which can clutter the templates.