checkArgumentsIsEmpty.js 166 B

1234567
  1. function checkArgumentsIsEmpty(array){
  2. return (-1 == array.findIndex((val,ind)=>{
  3. return val && ind !=0
  4. }))
  5. }
  6. module.exports = checkArgumentsIsEmpty;