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

Wishlist: Add unique filter #704

Closed
Talkless opened this issue Apr 13, 2017 · 1 comment
Closed

Wishlist: Add unique filter #704

Talkless opened this issue Apr 13, 2017 · 1 comment

Comments

@Talkless
Copy link

Hi,

It would be useful to have unique filter to convert source list into list containing only unique items.

Expected Behavior

{% set unique_items = ['a', 'b', 'a']|unique %} should make unique_items a list of ['a', 'b'].

Actual Behavior

There is no unqiue filter.

@davidism
Copy link
Member

#469

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants