unique
Block helper that return an array with all duplicate values removed. Best used along with a each helper.
Params
array{Array}returns{Array}
Usage
{{unique array}}
Example
{{ assign 'potion_array' (split 'invisibility, health, love, health, invisibility' ', ') }}
{{ join (unique potion_array) ', ' }}
Was this article helpful to you?