Files
railwaysystem/RuoYi-Vue/ruoyi-ui/node_modules1/@antv/util/lib/difference.d.ts
T

11 lines
348 B
TypeScript
Raw Normal View History

2026-09-10 15:40:10 +08:00
/**
* 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]
*/
declare const difference: <T>(arr: T[], values?: T[]) => T[];
export default difference;