Skip to content

isUnique

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

Check if there are no duplicate values.

Alternatives: unique, isUnique.
Similar: isUnique, isDisjoint, intersection.


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


References

Clone this wiki locally