UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

4 lines (3 loc) 180 B
export declare function nth<A>(n: number, coll: A[]): A; export declare function nth(n: number): <A>(coll: A[]) => A; export declare function nth(n: number, text: string): string;