set_intersection


set_intersection(s1, @rest...)
      

Return a new set that is the intersection of the sets s1, ....

Examples:


set_intersection(#(1, 2))
// #(1, 2)
set_intersection(#(1, 2), #(2, 3))
// #(2)
      

Also see:

set_union
set_difference


Core Module Index | Contents