Skip to content Skip to footer navigation
🏰 Statamic Summit 2027 Feb 16–19 Talks, workshops, and three nights in a German castle. Get Tickets

Unique Modifier

Returns all of the unique items in the array:

checklist:
- zebra
- hippo
- hyena
- giraffe
- zebra
- hippo
- hippo
- hippo
- hippo
{{ checklist | unique | list }}
{{ Statamic::modify($checklist)->unique()->list() }}
zebra, hippo, hyena, giraffe