- :block
- or :nothing
unique
get given collection without duplicates
Parameters
unique collection :string :literal :block
Attributes
id | generate unique id using given prefix |
Returns
Examples
copyarr: [1 2 4 1 3 2] print unique arr ; 1 2 4 3
copyarr: [1 2 4 1 3 2] unique 'arr print arr ; 1 2 4 3