Skip to content

intersect

Litichevskiy Dmitriy edited this page Jan 26, 2019 · 1 revision

manipula.intersect(second, [comparer])

Method returns intersection between the current and given iterables.

Kind: instance method of Manipula

Param Type Default Description
second Iterable<any> An iterable whose distinct elements that also appear in the current iterable will be returned.
[comparer] EqualityComparer DefaultEqualityComparer An EqualityComparer to compare elements.
Clone this wiki locally