fxl 37aa67060c 08.01demo | hai 4 meses | |
---|---|---|
.. | ||
.editorconfig | hai 4 meses | |
.istanbul.yml | hai 4 meses | |
.npmignore | hai 4 meses | |
.travis.yml | hai 4 meses | |
LICENSE | hai 4 meses | |
README.md | hai 4 meses | |
index.js | hai 4 meses | |
package.json | hai 4 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.