UNPKG

@n3okill/utils

Version:
8 lines (7 loc) 359 B
/** * Combine multiple arrays into a single with unique items based on filter * @param arrays Arrays to be combined * @param filter The filter function to be applied to arrays, default `Type.is`, `(obj1, obj2)=>boolean` * @returns {Array<T>} The combined array */ export declare function combineUniqueFilter<T>(...arrays: Array<Array<T> | T>): Array<T>;