Module

x/rambda/mod.ts>nth

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

Curried version of input[index].

Parameters

index: number
input: string

Returns

string

Parameters

index: number
input: T[]

Returns

T | undefined

Parameters

n: number

Returns

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