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

x/lodash_es/mod.ts>slice

lodash for deno use
Latest
function slice
import { slice } from "https://deno.land/x/lodash_es@v0.0.2/mod.ts";

Creates a slice of array from start up to, but not including, end.

Note: This method is used instead of Array#slice to ensure dense arrays are returned.

Parameters

array

The array to slice.

start
end