@ndhoule/rest

2.0.0 • Public • Published

rest CI

Produce a new array composed of all but the first element of the input collection.

Installation

$ component install ndhoule/rest
$ npm install @ndhoule/rest

API

rest(collection : Array) => Array

Produce a new array composed of all but the first element of the input collection.

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

License

Released under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i @ndhoule/rest

Weekly Downloads

83,678

Version

2.0.0

License

MIT

Last publish

Collaborators

  • ndhoule