Irina Glushko 2389e7160b HW1 done | 3 years ago | |
---|---|---|
.. | ||
.editorconfig | 3 years ago | |
.istanbul.yml | 3 years ago | |
.npmignore | 3 years ago | |
.travis.yml | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
index.js | 3 years ago | |
package.json | 3 years ago |
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.