secondmax
v1.0.3
Published
This is used to extract string only.
Downloads
10
Readme
what is this?
This is used to find second maximum and also remove duplicate in the array
Installation
npm i secondmax --save
Then...
import {secondmax} from 'secondmax'
secondmax([10,20,80,50,50,50]) //It is also delete duplicate entry and find second max
Package.Json //Add module to project package.json
"type":"module"
Options
sorting array
secondmax([10,20,80,50,150]) or secondmax([10,20,50,50,50]) or secondMaxx([12,34,56,78,67,-90])