rabin ef108495d0 edit | hai 7 meses | |
---|---|---|
.. | ||
.editorconfig | hai 7 meses | |
.istanbul.yml | hai 7 meses | |
.npmignore | hai 7 meses | |
.travis.yml | hai 7 meses | |
LICENSE | hai 7 meses | |
README.md | hai 7 meses | |
index.js | hai 7 meses | |
package.json | hai 7 meses |
Determines if an object can be used like an Array
var isArrayish = require('is-arrayish');
isArrayish([]); // true
isArrayish({__proto__: []}); // true
isArrayish({}); // false
isArrayish({length:10}); // false
Licensed under the MIT License. You can find a copy of it in LICENSE.