@twoseventythree/listdiff
v1.0.0
Published
compute difference of two lists similar to [Elixir's `--` operator](https://elixir-recipes.github.io/lists/list-difference/)
Downloads
2
Readme
listdiff
compute difference of two lists similar to Elixir's --
operator
install
$ npm install @twoseventythree/listdiff
usage
const diff = require('@twoseventythree/listdiff')
console.log(diff([1, 2, 3], [3])) // [1, 2]
license
MIT