intersection

intersection is an alias for `cl-intersection' in `cl.el'.

(intersection LIST1 LIST2 [KEYWORD VALUE]...)

Combine LIST1 and LIST2 using a set-intersection operation.
The resulting list contains all items that appear in both LIST1 and LIST2.
This is a non-destructive function; it makes a copy of the data if necessary
to avoid corrupting the original LIST1 and LIST2.

Keywords supported: :test :test-not :key