UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

7 lines (6 loc) 578 B
import { Dictionary } from "./main"; type MixedCmp<A, B> = (a: A, b: B) => boolean; export declare function innerJoin<A extends Dictionary = Dictionary, B extends Dictionary = Dictionary>(match: MixedCmp<A, B>, as: A[], bs: B[]): (A & B)[]; export declare function innerJoin<A extends Dictionary = Dictionary, B extends Dictionary = Dictionary>(match: MixedCmp<A, B>, as: A[]): (bs: B[]) => (A & B)[]; export declare function innerJoin<A extends Dictionary = Dictionary, B extends Dictionary = Dictionary>(match: MixedCmp<A, B>): (as: A[]) => (bs: B[]) => (A & B)[]; export {};