So i have created a custom handle bar that check equality like this
HandlerBars.registerHelper('ifEquals', (arg1, arg2, options) => {
      if (arg1 == arg2) {
        return options?.fn(this);
      }
      return options?.inverse(this);
    });
and i am basically using it in the html like this {{#ifEquals property "string"}}
Now in this block i have a text to render and another #if handle bar.
The problem is that it renders the text before the if handle bar but it doesnt call the if handle bar even if it should return a property ,it instead goes to the {{else}} in that if handlebar
