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

Add intersectionBy function #82

Closed
Tracked by #59
ppeeou opened this issue Dec 14, 2021 · 0 comments · Fixed by #108
Closed
Tracked by #59

Add intersectionBy function #82

ppeeou opened this issue Dec 14, 2021 · 0 comments · Fixed by #108
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ppeeou
Copy link
Member

ppeeou commented Dec 14, 2021

Suggestion

⭐ Suggestion

💻 Use Cases

const iter = intersectionBy((o) => o.x, [{ x: 2 }, { x: 1 }], [{ x: 1 }, {x : 3}, {x : 4}]);
iter.next(); // {value:{x: 1}, done:false}
iter.next(); // {value:undefined, done:true}
@ppeeou ppeeou mentioned this issue Dec 14, 2021
25 tasks
@ppeeou ppeeou changed the title intersectionBy / differenceBy Add intersectionBy function Dec 14, 2021
@ppeeou ppeeou added enhancement New feature or request good first issue Good for newcomers v0.4 labels Dec 14, 2021
@ppeeou ppeeou self-assigned this Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant