The key by which to check uniqueness against. undefined if no uniqueness constraint is set.
Optional
uniqueKey: false | keyof Ta key to maintain uniquely within the collection. passing false disables uniqueness.
Protected
_checkProtected
_removeStatic
fromCreates a Collection from an iterable, such as an Array.
Optional
uniqueKey: false | keyof Fa key to maintain uniquely within the collection. passing false disables uniqueness.
Protected
_arrayPrivate
Readonly
_uniqueEvent raised if an item is added. Is passed the added item.
Event raised if an item is removed. Is passed the removed item.
Generated using TypeDoc
A generic array based collection. Implements the Symbol.iterator (e.g. [...collection])