README
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]
remove values in an array
<script type="module">
import exclude from 'https://cdn.skypack.dev/exclude';
</script>
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]