Module

x/lodash_es/src/first.js>default

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

Gets the first element of array.

Examples

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

_.head([]); // => undefined

Parameters

array

The array to query.