Module

x/rambda/immutable.d.ts>slice

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