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

arrays.intersection #60

Closed
3 tasks done
evanplaice opened this issue Nov 8, 2019 · 1 comment
Closed
3 tasks done

arrays.intersection #60

evanplaice opened this issue Nov 8, 2019 · 1 comment
Labels
enhancement New feature or request operator

Comments

@evanplaice
Copy link
Member

evanplaice commented Nov 8, 2019

Creates an array of unique values that are included in all given arrays

Checklist

  • implementation
  • tests
  • jsdoc

Details

One possible approach:

Use something like frequency then filter the results so only the values that have the frequency of input.length are returned.

References

@evanplaice
Copy link
Member Author

evanplaice commented Nov 22, 2019

Added in v0.41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request operator
Projects
None yet
Development

No branches or pull requests

1 participant