Files
lan-manager/web/node_modules/@antv/util/esm/difference.js
openclaw 0a5f6a8047 Initial commit: Lan-manager project code
- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs

Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
2026-04-20 00:52:58 +08:00

17 lines
558 B
JavaScript

import filter from './filter';
import contains from './contains';
/**
* Flattens `array` a single level deep.
*
* @param {Array} arr The array to inspect.
* @param {Array} values The values to exclude.
* @return {Array} Returns the new array of filtered values.
* @example
* difference([2, 1], [2, 3]); // => [1]
*/
var difference = function (arr, values) {
if (values === void 0) { values = []; }
return filter(arr, function (value) { return !contains(values, value); });
};
export default difference;
//# sourceMappingURL=difference.js.map