peach a19a732be8 commit message | 2 rokov pred | |
---|---|---|
.. | ||
.editorconfig | 2 rokov pred | |
.istanbul.yml | 2 rokov pred | |
.npmignore | 2 rokov pred | |
.travis.yml | 2 rokov pred | |
LICENSE | 2 rokov pred | |
README.md | 2 rokov pred | |
index.js | 2 rokov pred | |
package.json | 2 rokov pred |
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.