Skip to content

isDisjoint

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

Checks if arrays have no value in common.

Similar: isUnique, isDisjoint, intersection.


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


References

Clone this wiki locally