isDuplicated#
- swordfish.function.isDuplicated()#
Return a vector or a tuple of vectors of Boolean values. If an element has no duplicate values, it returns 0.
If keep=FIRST, the first duplicate value returns 0 while all other duplicate values return 1.
If keep=LAST, the last duplicate value returns 0 while all other duplicate values return 1.
If keep=NONE, all duplicate values return 1.