Skip to content

intersection

Subhajit Sahu edited this page Feb 3, 2021 · 26 revisions

Obtain values present in both iterables.

Similar: union, intersection, difference, symmetricDifference.


function intersection(x, y, fc, fm)
// x:  an iterable
// y:  another iterable
// fc: compare function (a, b)
// fm: map function (v, i, x)


References

Clone this wiki locally