loose-array

Check if is an Array or Array-like Object

Usage no npm install needed!

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

README

loose-array NPM version NPM downloads Build Status

Check if is an Array or Array-like Object

Install

$ npm install --save loose-array

Usage

const looseArray = require('loose-array')

looseArray([])                                // => true
looseArray(arguments)                         // => true
looseArray(document.querySelectorAll('div'))  // => true

License

MIT © EGOIST