Module

x/lodash_es/src/array.js>initial

lodash for deno use
Latest
function initial
import { initial } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/array.js";

Gets all but the last element of array.

Examples

_.initial([1, 2, 3]); // => [1, 2]

Parameters

array

The array to query.