function nthimport { nth } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts"; nth(index: number, input: string): stringCurried version of input[index]. nth<T>(index: number, input: readonly T[]): T | undefinednth(n: number): { <T>(input: readonly T[]): T | undefined; (input: string): string; }Curried version of input[index]. Parametersindex: numberinput: stringReturnsstringType ParametersTParametersindex: numberinput: readonly T[]ReturnsT | undefinedParametersn: numberReturns{ <T>(input: readonly T[]): T | undefined; (input: string): string; }