UNPKG

@extra-array/is-disjoint

Version:

Checks if arrays have no value in common.

13 lines (12 loc) 455 B
declare module "@extra-array/is-disjoint" { import type { compareFn, mapFn } from "./_types"; /** * Checks if arrays have no value in common. * @param x an array * @param y another array * @param fc compare function (a, b) * @param fm map function (v, i, x) */ declare function isDisjoint<T, U = T>(x: Iterable<T>, y: Iterable<T>, fc?: compareFn<T | U>, fm?: mapFn<T, T | U>): boolean; export = isDisjoint; //# sourceMappingURL=isDisjoint.d.ts.map}