package
Create an array with values that are present in the first input array but not additional ones
npm install array-differGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 1 packages.
3.3 kB
Includes dependencies.
Create an array with values that are present in the first input array but not additional ones
$ npm install array-differimport arrayDiffer from 'array-differ';
arrayDiffer([2, 3, 4], [3, 50]);
//=> [2, 4]Returns a new array.
Type: unknown[]
Type: unknown[]
Arrays of values to exclude.