@jswork/next-array-trim

1.0.4 • Public • Published

next-array-trim

Trim array like string.trim for next.

version license size download

installation

npm install -S @jswork/next-array-trim

usage

import '@jswork/next-array-trim';

const arr = [undefined, undefined, undefined, 'a', 'b', 'c', undefined];
nx.arrayTrim(arr, undefined);    // ['a','b','c']

license

Code released under the MIT license.

Package Sidebar

Install

npm i @jswork/next-array-trim

Weekly Downloads

2

Version

1.0.4

License

MIT

Unpacked Size

4.98 kB

Total Files

5

Last publish

Collaborators

  • afeiship