-
Notifications
You must be signed in to change notification settings - Fork 1
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)