rabin ef108495d0 edit | 7 bulan lalu | |
---|---|---|
.. | ||
.editorconfig | 7 bulan lalu | |
.istanbul.yml | 7 bulan lalu | |
.npmignore | 7 bulan lalu | |
.travis.yml | 7 bulan lalu | |
LICENSE | 7 bulan lalu | |
README.md | 7 bulan lalu | |
index.js | 7 bulan lalu | |
package.json | 7 bulan lalu |
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.