Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/immutable.d.ts>slice

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

Parameters

from: number
to: number
input: string

Returns

string

Parameters

from: number
to: number
input: readonly T[]

Returns

readonly T[]

Parameters

from: number
to: number

Returns

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

Parameters

from: number

Returns

{ (to: number, input: string): string; <T>(to: number, input: readonly T[]): readonly T[]; }