@zodash/first
Gets the first element of array.
Usage
import { first } from '@zodash/first';
first([1, 2, 3]);
// => 1
first([]);
// => undefined
@zodash/first
Gets the first element of array.
import { first } from '@zodash/first';
first([1, 2, 3]);
// => 1
first([]);
// => undefined
npm i @zodash/first
0
0.0.3
MIT
3.58 kB
6