array-expansion

1.0.4 • Public • Published

This is a expansion of Array

Badge

996.icu

License

LICENSE

Installation

Node.js

npm install array-enpansion -S

import "array-enpansion"

API

max

var arr = [1,2,3,4,34,54]
arr.max()
// 54

min

var arr = [1,2,3,4,34,54]
arr.min()
// 1

unique

let arr = [1,1,2,2,"2",undefined,undefined]
arr.unique()
// [1,2,"2",undefined]

Readme

Keywords

Package Sidebar

Install

npm i array-expansion

Weekly Downloads

0

Version

1.0.4

License

ISC

Unpacked Size

3.22 kB

Total Files

3

Last publish

Collaborators

  • leonsin_chen