Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special note about how not handles empty arrays #37

Open
jskeate opened this issue Apr 20, 2016 · 1 comment
Open

Special note about how not handles empty arrays #37

jskeate opened this issue Apr 20, 2016 · 1 comment

Comments

@jskeate
Copy link

jskeate commented Apr 20, 2016

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.

@stukalin
Copy link

stukalin commented Jan 13, 2023

Just had the same issue, past 7 years 😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants