UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

5 lines (4 loc) 347 B
import { Mappable } from "./main"; export declare function intersectsBy<A, B>(getComp: Mappable<A, B>, setA: A[], setB: A[]): boolean; export declare function intersectsBy<A, B>(getComp: Mappable<A, B>, setA: A[]): (setB: A[]) => boolean; export declare function intersectsBy<A, B>(getComp: Mappable<A, B>): (setA: A[]) => (setB: A[]) => boolean;