listtools.is_unique — Abjad v1.1.1 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »

# listtools.is_unique

`abjad.tools.listtools.` `is_unique`(l)

  New in version 1.1.1.

  Return `True` when the elements in iterable l are unique, otherwise `False`.

      abjad> l = [1, 1, 1, 2, 3, 3, 4, 5]
      abjad> listtools.is_unique(l)
      False

  Defined equal to `l == type(l)(set(l))`.

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »