UNPKG

@extra-array/union-update

Version:

Gives values present in any array.

14 lines (13 loc) 449 B
declare module "@extra-array/union-update" { import type { compareFn, mapFn } from "./_types"; /** * Gives values present in any array. * @param x an array (updated) * @param y another array * @param fc compare function (a, b) * @param fm map function (v, i, x) * @returns x */ declare function union$<T, U = T>(x: T[], y: Iterable<T>, fc?: compareFn<T | U>, fm?: mapFn<T, T | U>): T[]; export = union$; //# sourceMappingURL=union$.d.ts.map}