jeudi 22 septembre 2016

Do we have abstract equality check in ember handlebar?

In ember handlebar, we are allowed to use the strict helper

eq  if (a === b)  or     ex:  1 === '1'     false

I need to check the abstract equality which is
1 == '1'      true

How can i achieve that in .hbs file ? with helper ?




Aucun commentaire:

Enregistrer un commentaire