jmurphyau/ember-truth-helpers

Special note about how `not` handles empty arrays

jskeate opened this issue · 1 comments

Ran into the unexpected asymmetry between how (not arr) (in templates) and !arr (in JS) behave. I don't really have a problem with it (probably makes sense in a lot of cases), but I think there should be a special note somewhere (in the readme?)

Either that, or make not exactly the same as ! and add a new helper like empty or something.

Just had the same issue, past 7 years 😂