Open fcheung opened 5 years ago
Semantically equivalent to (array1 & array2).any? but doesn't create an intermediate array & can return as soon as one element in common is found
https://github.com/ruby/ruby/pull/2260
Semantically equivalent to (array1 & array2).any? but doesn't create an intermediate array & can return as soon as one element in common is found