set

A set is a collection which is unordered and can only contain things. Each thing will only exists once in a collection.

Methods

Method Description
add Add things to a set.
filter Return a new set with things that pass a given test.
find Returns the first thing which passes a given test.
has Test if a set contains a given thing.
len Returns the length of a set.
map Return an list with the results of calling a provided closure on every thing.
remove Remove things from a set.
Method Description
set Create a new empty set or convert an list to a new set.