Flowdock
method

intersect?

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Set
intersect?(set) public

Returns true if the set and the given set have at least one element in common.

Set[1, 2, 3].intersect? Set[4, 5]   #=> false
Set[1, 2, 3].intersect? Set[3, 4]   #=> true
Show source
Register or log in to add new notes.