### Basic Examples

Basic Examples

Give a sorted list of unique elements of the list:

[{a,b,a,c}]

In[]:=

{a,b,c}

Out[]=

Give a sorted list of the keys with non-zero values:

[<|"a"2,"c"2,"b"2,"d"0,"e"1|>]

In[]:=

{a,b,c,e}

Out[]=

### Scope

Scope

MultisetSupport works with any head, not just List :

[f[b,b,a]]

In[]:=

f[a,b]

Out[]=

### Properties and Relations

Properties and Relations

Compare to Union:

[{a,b,a,c}]

In[]:=

{a,b,c}

Out[]=

[<|a2,b1,c1|>]

In[]:=

{a,b,c}

Out[]=

Union[{a,b,a,c}]

In[]:=

{a,b,c}

Out[]=