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
Docs Feedback
Submit improvements, related content, or suggestions through Github.
Betterify this page