Api - Collector Class
Type parameters
-
K
-
T
Hierarchy
- Collector
Index
Constructors
Properties
Methods
Constructors
constructor
-
Parameters
-
Optional comparer: ICollectionKeyComparer<K>
Returns Collector
-
Properties
collections
Methods
addItemToCollection
-
Parameters
-
key: K
-
item: T
Returns void
-
findCollection
-
Parameters
-
key: K
-
Optional action: function
-
-
Parameters
-
index: number
Returns void
-
-
-
Returns T[]
-
getCollectionsOfMultiple
-
Parameters
-
cb: function
-
-
Parameters
-
key: K
-
items: T[]
Returns void
-
-
-
Returns void
-
removeCollection
-
Parameters
-
key: K
Returns boolean
-
removeItemFromCollection
-
Parameters
-
key: K
-
item: T
Returns boolean
-
Generated using TypeDoc
Collects items that share a common key.