js-head
Get the first element in iterable collection
A common way of getting the first element in a collection which implements Iterable protocol.
Installation
$ npm i js-head
Usage
; ; // 1; // 1; // 1
Get the first element in iterable collection
A common way of getting the first element in a collection which implements Iterable protocol.
$ npm i js-head
; ; // 1; // 1; // 1
npm i js-head
4
1.0.2
MIT