1.0.1 • Published 3 years ago

nv-dict-pop-with-value v1.0.1

Weekly downloads
91
License
ISC
Repository
-
Last release
3 years ago

nv-dict-pop-with-value

  • nv-dict-pop-with-value

install

  • npm install nv-dict-pop-with-value

usage

example

const {
    fst,
    fst_not,
    lst,
    lst_not,
    which,
    which_not,
    which_from_lst,
    which_not_from_lst,
    some,
    some_not,
    some_from_lst,
    some_not_from_lst,
    all,
    all_not
} = require("nv-dict-pop-with-value");

const dict_vpop = require("nv-dict-pop-with-value")
var d = {a:100,b:200,c:100,d:400}
var nd = dict_vpop.all(d,100)
> d
{ b: 200, d: 400 }
> nd
{ a: 100, c: 100 }
>    

API

  • dict_vpop.fst(d,v,...cond_other_func_params)
  • dict_vpop.fst_not(d,v,...cond_other_func_params)
  • dict_vpop.which(d,index,v,...cond_other_func_params)
  • dict_vpop.which_not(d,index,v,...cond_other_func_params)
  • dict_vpop.which_from_lst(d,index,v,...cond_other_func_params)
  • dict_vpop.which_not_from_lst(d,index,v,...cond_other_func_params)
  • dict_vpop.lst(d,v,...cond_other_func_params)
  • dict_vpop.lst_not(d,v,...cond_other_func_params)
  • dict_vpop.some(d,whiches,v,...cond_other_func_params)
  • dict_vpop.some_not(d,whiches,v,...cond_other_func_params)
  • dict_vpop.some_from_lst(d,whiches,v,...cond_other_func_params)
  • dict_vpop.some_not_from_lst(d,whiches,v,...cond_other_func_params)
  • dict_vpop.all(d,v,...cond_other_func_params)
  • dict_vpop.all_not(d,v,...cond_other_func_params)

LICENSE

  • ISC