array-easy
v1.0.12-0
Published
Powerful lightweight array prototypes ## Installation ``` npm i array-easy ``` ## Apply ```javascript require('array-easy') ``` ## Functions ```javascript sortMax(): numbe[] sortMaxLength(): string[]; getNumber(): this; getString
Downloads
2
Maintainers
Readme
Description
Powerful lightweight array prototypes
Installation
npm i array-easy
Apply
require('array-easy')
Functions
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;