Skip to main content
Module

x/rambda/immutable.d.ts>slice

Faster and smaller alternative to Ramda
Go to Latest
function slice
import { slice } from "https://deno.land/x/rambda@v7.0.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[]; }