You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
704 B

4 years ago
  1. # node-is-arrayish [![Travis-CI.org Build Status](https://img.shields.io/travis/Qix-/node-is-arrayish.svg?style=flat-square)](https://travis-ci.org/Qix-/node-is-arrayish) [![Coveralls.io Coverage Rating](https://img.shields.io/coveralls/Qix-/node-is-arrayish.svg?style=flat-square)](https://coveralls.io/r/Qix-/node-is-arrayish)
  2. > Determines if an object can be used like an Array
  3. ## Example
  4. ```javascript
  5. var isArrayish = require('is-arrayish');
  6. isArrayish([]); // true
  7. isArrayish({__proto__: []}); // true
  8. isArrayish({}); // false
  9. isArrayish({length:10}); // false
  10. ```
  11. ## License
  12. Licensed under the [MIT License](http://opensource.org/licenses/MIT).
  13. You can find a copy of it in [LICENSE](LICENSE).