deckarep / golang-set

A simple, battle-tested and generic set type for the Go language. Trusted by Docker, 1Password, Ethereum and Hashicorp.
Other
4k stars 272 forks source link

Add ContainsAny functionality to Set #120

Closed ryclarke closed 1 year ago

ryclarke commented 1 year ago

A simple addition to incorporate ContainsAny logic on the Set (i.e. returns true if any element in the provided list is included in the Set)

deckarep commented 1 year ago

This looks great and thank you for the contribution! I’ll look at it in depth today and hopefully get it merged.

cheers!