0
votes

I have a statement like below,

{{#ifCond IsTrue}}

how can i use ifCond statement with not like below,

{{#ifCond not IsTrue}}
1
have you looked at the unless block helper? basically an if not helperQuince

1 Answers

0
votes

You can use an else statement:

{{#ifCond a b}}
  {{!-- a is equal to b. --}}
{{else}}
   {{!-- a is not equal to b --}}
{{/ifCond}}