@zodash/first
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

@zodash/first

Gets the first element of array.

Usage

import { first } from '@zodash/first';

first([1, 2, 3]);
// => 1
 
first([]);
// => undefined

Readme

Keywords

Package Sidebar

Install

npm i @zodash/first

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

3.58 kB

Total Files

6

Last publish

Collaborators

  • uniquecolesmith