method

intersect?

Importance_1
v2_6_3 - Show latest stable - 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.