UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

8 lines (7 loc) 443 B
import { Dictionary, Predicate } from "./main"; type Path = string | number | (string | number)[]; type Input = any[] | Dictionary; export declare function propSatisfies(path: Path, pred: Predicate<any>, input: Input): boolean; export declare function propSatisfies(path: Path, pred: Predicate<any>): (input: Input) => boolean; export declare function propSatisfies(path: Path): (pred: Predicate<any>) => (input: Input) => boolean; export {};