unique
remove duplicates from a list
(list subject) -> list
Returns a list with all duplicates in xs
removed.
Items are considered duplicates when they compare as equal using the ===
operator.
Returns nil
if subject
is nil
Parameters
Name | Type | Description |
---|---|---|
subject |
list | The list to work with |