UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

6 lines (5 loc) 253 B
import { Dictionary } from "./main"; type ObjKey = string | number; export declare function getIn<A = any>(path: ObjKey[], coll: Dictionary | any[]): A; export declare function getIn<A = any>(path: ObjKey[]): (coll: Dictionary | any[]) => A; export {};