Eric Foster 35b96bc934 initial commit | 6 lat temu | |
---|---|---|
.. | ||
.editorconfig | 6 lat temu | |
.istanbul.yml | 6 lat temu | |
.npmignore | 6 lat temu | |
.travis.yml | 6 lat temu | |
LICENSE | 6 lat temu | |
README.md | 6 lat temu | |
index.js | 6 lat temu | |
package.json | 6 lat temu |
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.