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

Implement select/reject #282

Closed
jbergstroem opened this issue Sep 23, 2014 · 2 comments · Fixed by #1279
Closed

Implement select/reject #282

jbergstroem opened this issue Sep 23, 2014 · 2 comments · Fixed by #1279

Comments

@jbergstroem
Copy link
Contributor

These exists in jinja and is a pretty good way to exclude something from array iteration. I'm working on a patch.

@carljm carljm changed the title Implement select/reject+attr Implement select/reject Dec 14, 2015
@carljm
Copy link
Contributor

carljm commented Dec 14, 2015

selectattr and rejectattr have since been implemented; we still don't have select and reject.

@ogonkov
Copy link
Contributor

ogonkov commented Mar 29, 2020

Seems not very hard to implement.

This was referenced Mar 29, 2020
fdintino pushed a commit to ogonkov/nunjucks that referenced this issue Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants