ez.no / exponential / documentation / reference / template operators / arrays / unique
$input_array|unique()
Array with duplicate elements removed.
Removes duplicate values from an array.
{array( 1, 2, 2, 3, 4, 4, 5 )|unique}
returns the following array(1,2,3,4,5).
log in or create a user account to comment.
Comments