Optionalelements: null | Iterable<Elemental, any, any>An optional list of Elemental to initialize the list with
Readonly[toReadonlysizeStatic Readonly[species]Iterates over values in the set.
Adds an Elemental to the ElementList.
The Elemental to add.
The ElementList instance.
Converts the ElementList to an array.
An array of the elements in the ElementList.
Clears all elements from the ElementList.
Deletes an Elemental from the ElementList.
The Elemental to delete.
True if the element was deleted, false otherwise.
Gets an element at the specified index.
The index of the element to retrieve.
The element at the specified index, or undefined if the index is out of bounds.
a boolean indicating whether an element with the specified value exists in the Set or not.
a boolean indicating whether this Set has no elements in common with the argument.
a boolean indicating whether all the elements in this Set are also in the argument.
a boolean indicating whether all the elements in the argument are also in this Set.
Despite its name, returns an iterable of the values in the set.
Returns an iterable of values in the set.
Represents a list of element-like objects. This can be used as a shared memory among Managers so that the consumer has full control at all times.
It is essentially a Set with an O(1) lookup for elements.