class/class_backend/node_modules/is-arrayish
hjl 9372f6120a add file 9 months ago
..
.editorconfig add file 9 months ago
.istanbul.yml add file 9 months ago
.npmignore add file 9 months ago
.travis.yml add file 9 months ago
LICENSE add file 9 months ago
README.md add file 9 months ago
index.js add file 9 months ago
package.json add file 9 months ago

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.