Powerful lightweight array prototypes
npm i array-easy
require('array-easy')
sortMax(): numbe[]
sortMaxLength(): string[];
getNumber(): this;
getString(): this;
sortRandom(): this;
getMin(length: number): number;
getMax(length: number): number;
getRandom(length: number): number;
count(element): number;
countAlt(element): number;
indexesOf(element): number[];
indexesOfAlt(element): number[];
getTrue(): this;
falseCount(): number[];
falsyIndexes(): number[];
typeCount(type: string): number[];
last()
convertSet(): this;
dublicates(): this;
dublicatesCount(): object[];
sum(): number;
bindSum(array: Array): number[];
merge(array: Array): this;