Açaí's Framework collections
A group of useful collections to your everyday needs, developed as a module for the Açaí framework.
Installation
npm
npm i --save @acai/collections
yarn
yarn add @acai/collections
Collection types
Default
This works as a enhanced array, to show the capabilities of the collection.
Group
This is a special type, every method call is going to be a group call, see the example below:
let normalarray = [/* items */];
let groupcollection = new Group([/* items */]);
groupcollection.methodCall();
//is the same as
for (let i = 0; i < normalarray.length;i++) {
normalarray[i].methodCall();
}