Module

x/rambda/immutable.d.ts>nth

Faster and smaller alternative to Ramda
Latest
function nth
import { nth } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts";

Curried version of input[index].

Parameters

index: number
input: string

Returns

string

Parameters

index: number
input: readonly T[]

Returns

T | undefined

Parameters

n: number

Returns

{ <T>(input: readonly T[]): T | undefined; (input: string): string; }