array-length

Get length of array.

Usage no npm install needed!

<script type="module">
  import arrayLength from 'https://cdn.skypack.dev/array-length';
</script>

README

array-length

NOTE: array-length was renamed to @extra-array/length. NPM

Get length of array.

const length = require('array-length');
// length(<value>)

length(0);
// 0
length(null);
// 0
length(['d', 'c', '9']);
// 3