We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
to get unique values in an array
arr.reduce
equals
The text was updated successfully, but these errors were encountered:
thoughts:
set
unique
deduplicate
dedupe
Array.filter
Sorry, something went wrong.
Nice we should make it work with Array.prototype.filter versus Array.prototype.reduce
Array.prototype.filter
Array.prototype.reduce
— @tjmehta
On Wed, Jul 1, 2015 at 2:28 PM, Bryan Kendall notifications@github.com wrote:
thoughts: wouldn’t this be very similar (functionally) to a set? I know we probably don’t want to add a entire new data type, but if something like that already exists, don’t need to re-make unique would be a good name. alias to deduplicate/dedupe? - also like that it would take a function: becomes an awesome Array.filter Reply to this email directly or view it on GitHub: #103 (comment)
Reply to this email directly or view it on GitHub: #103 (comment)
No branches or pull requests
to get unique values in an array
arr.reduce
equals
arg?The text was updated successfully, but these errors were encountered: