next-array-trim
Trim array like string.trim for next.
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.