Stores unique values without any particular order.

Available since

0.2.0

.

Static methods

staticinlineadd(this:Map<T, Bool>, item:T):Bool

Adds an item to the set.

Parameters:

item

The value to add.

Returns:

true if it's a new value, false otherwise.

staticinlineclear(this:Map<T, Bool>):Void

Removes all items in this set.

staticinlineiterator(this:Map<T, Bool>):Iterator<T>

Returns an iterator over the values of this set. The order is undefined.

staticinlinetoArray(this:Map<T, Bool>):Array<T>

Returns an array containing the values of this set. The order is undefined.

staticinlinetoString(this:Map<T, Bool>):String

Returns the string representation of this set.