Creates an instance of Accumulator.
add item(s) after instance created
Clone a new instance of Accumulator with same items inside, optional parameter item can be passed into it for adding into the new Accumulator at the same time
Extract single value from Accumulator, can use string key or extractor callback
Merge whole object
Manually register keys when the index of object may not appear at the beginning of creating Accumulator, by using this function yan can let Accumulator knows there are additional keys when merging
Static builder for creating instance, this method accept various type of item for making new Accumulator. Including single item, array of items, single Accumulator, array of Accumulators. This static method will process these kinds of input into Accumulator
Generated using TypeDoc
Accumulator class for doing all merging action
Accumulator
T