filter-blanks-from-array

1.0.1 • Public • Published

filter-blanks-from-array

Function that filters undefined items out from an array.

> require("filter-blanks-from-array)(
>   [0, undefined, 'foo', undefined, function () {}, undefined, {}, undefined]
> );
[ 0, 'foo', [Function], {} ]

Readme

Keywords

Package Sidebar

Install

npm i filter-blanks-from-array

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • mightyiam
  • weswinham