-
Notifications
You must be signed in to change notification settings - Fork 88
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
Iterable<T>.containsAny(Iterable<T>) #41
Conversation
Please add a description to your next PR. I think the name of the method is not very expressive. Also, you can achieve the same using |
Sorry, description added. As far as the name, it's consistent with other list methods like |
@passsy what do you think? |
I think the method makes sense and is consistent with the rest of the API. I see it using myself. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed Iterable.containsAny
test
e13d1ec
to
a2b8e48
Compare
a2b8e48
to
f958ca5
Compare
Thank you! |
Add Iterable.containsAny(listB).
This will search through a list and returns true if any elements in listB are present in this