UNPKG

486 BTypeScriptView Raw
1declare module "@extra-array/symmetric-difference" {
2import type { compareFn, mapFn } from "./_types";
3/**
4 * Gives values not present in both arrays.
5 * @param x an array
6 * @param y another array
7 * @param fc compare function (a, b)
8 * @param fm map function (v, i, x)
9 */
10declare function symmetricDifference<T, U = T>(x: Iterable<T>, y: Iterable<T>, fc?: compareFn<T | U>, fm?: mapFn<T, T | U>): T[];
11export = symmetricDifference;
12//# sourceMappingURL=symmetricDifference.d.ts.map}