0.0.3 • Published 3 years ago
@zodash/first v0.0.3
@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