websocket-canvas/node_modules/is-arrayish
Robin Steinberg 02f21f1ccd Initial commit 2021-08-24 19:21:14 +02:00
..
.editorconfig Initial commit 2021-08-24 19:21:14 +02:00
.istanbul.yml Initial commit 2021-08-24 19:21:14 +02:00
.npmignore Initial commit 2021-08-24 19:21:14 +02:00
.travis.yml Initial commit 2021-08-24 19:21:14 +02:00
LICENSE Initial commit 2021-08-24 19:21:14 +02:00
README.md Initial commit 2021-08-24 19:21:14 +02:00
index.js Initial commit 2021-08-24 19:21:14 +02:00
package.json Initial commit 2021-08-24 19:21:14 +02:00

README.md

node-is-arrayish Travis-CI.org Build Status Coveralls.io Coverage Rating

Determines if an object can be used like an Array

Example

var isArrayish = require('is-arrayish');

isArrayish([]); // true
isArrayish({__proto__: []}); // true
isArrayish({}); // false
isArrayish({length:10}); // false

License

Licensed under the MIT License. You can find a copy of it in LICENSE.