line_push/node_modules/is-arrayish
2022-07-17 13:16:16 +08:00
..
.editorconfig add file 2022-07-17 13:16:16 +08:00
.istanbul.yml add file 2022-07-17 13:16:16 +08:00
.npmignore add file 2022-07-17 13:16:16 +08:00
.travis.yml add file 2022-07-17 13:16:16 +08:00
index.js add file 2022-07-17 13:16:16 +08:00
LICENSE add file 2022-07-17 13:16:16 +08:00
package.json add file 2022-07-17 13:16:16 +08:00
README.md add file 2022-07-17 13:16:16 +08:00

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.