exclude
remove values in an array
Last updated 12 years ago by jongleberry .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install exclude 
SYNC missed versions from official npm registry.

Exclude

Remove values in an array contained in other arrays.

var arr = [
  1, 2, 3, 4, 5
]

var exclude = require('array-exclude')

var res = exclude(arr, [
  [2, 3],
  [5]
])

// => [1, 4]

Current Tags

  • 1.0.0                                ...           latest (12 years ago)

1 Versions

  • 1.0.0                                ...           12 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (1)
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |