zhaoyu_ma 5d3259f632 代码混淆插件. 8 ヶ月 前
..
index.d.ts 5d3259f632 代码混淆插件. 8 ヶ月 前
index.js 5d3259f632 代码混淆插件. 8 ヶ月 前
license 5d3259f632 代码混淆插件. 8 ヶ月 前
package.json 5d3259f632 代码混淆插件. 8 ヶ月 前
readme.md 5d3259f632 代码混淆插件. 8 ヶ月 前

readme.md

array-differ Build Status

Create an array with values that are present in the first input array but not additional ones

Install

$ npm install array-differ

Usage

const arrayDiffer = require('array-differ');

arrayDiffer([2, 3, 4], [3, 50]);
//=> [2, 4]

API

arrayDiffer(input, ...values)

Returns a new array.

input

Type: unknown[]

values

Type: unknown[]

Arrays of values to exclude.

License

MIT © Sindre Sorhus