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

x/rambda/rambda.js>slice

Faster and smaller alternative to Ramda
Go to Latest
function slice
import { slice } from "https://deno.land/x/rambda@9.3.0/rambda.js";

Parameters

from: number
to: number
input: string

Returns

string

Parameters

from: number
to: number
input: T[]

Parameters

from: number
to: number

Returns

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

Parameters

from: number

Returns

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