UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

5 lines (4 loc) 200 B
export declare function whereEq<A extends {}>(pattern: { [K in keyof A]?: A[K]; }, dict: A): boolean; export declare function whereEq<A extends {}>(pattern: A): <B extends A>(dict: B) => boolean;