source:
frontend/node_modules/fork-ts-checker-webpack-plugin/lib/utils/array/substract.js
| Last change on this file was 9af201e, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 213 bytes | |
| Line | |
|---|---|
| 1 | "use strict"; |
| 2 | Object.defineProperty(exports, "__esModule", { value: true }); |
| 3 | function subtract(arrayA = [], arrayB = []) { |
| 4 | return arrayA.filter((item) => !arrayB.includes(item)); |
| 5 | } |
| 6 | exports.default = subtract; |
Note:
See TracBrowser
for help on using the repository browser.
