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

x/prelude_js/multiary.ts>slice

A standard module for functional programming in JavaScript
Go to Latest
function slice
import { slice } from "https://deno.land/x/prelude_js@1.0.0-beta.2/multiary.ts";

Apply slice.

Type Parameters

T extends Readonly<{ slice: AnyFn; }>

Parameters

value: T
...args: Parameters<T["slice"]>

Returns

ReturnType<T["slice"]>