UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

5 lines (4 loc) 312 B
import { Predicate } from "./main"; export declare function both<A>(p1: Predicate<A>, p2: Predicate<A>, value: A): boolean; export declare function both<A>(p1: Predicate<A>, p2: Predicate<A>): (value: A) => boolean; export declare function both<A>(p1: Predicate<A>): (p2: Predicate<A>) => (value: A) => boolean;