@jswork/next-arrayify

Simpliy to array.

Usage no npm install needed!

<script type="module">
  import jsworkNextArrayify from 'https://cdn.skypack.dev/@jswork/next-arrayify';
</script>

README

next-arrayify

Simpliy to array.

version license size download

installation

npm install -S @jswork/next-arrayify

usage

import '@jswork/next-arrayify';

nx.arrayify(null);      //[]
nx.arrayify(undefined); //[]
nx.arrayify([1,2,3])    //[1,2,3]

license

Code released under the MIT license.