DuplicateFreeQ

DuplicateFreeQ[list]

gives True if list has no duplicates, and False otherwise.

DuplicateFreeQ[list,test]

applies test to pairs of elements to determine whether they should be considered duplicates.

Details

Examples

open allclose all

Basic Examples  (1)

Determine whether or not the list has duplicated elements:

Use Tally to reveal duplicate elements:

Scope  (1)

Determine whether or not the sublists have the same total:

Introduced in 2014
 (10.0)