caoge c760052ff9 机车状态修改 | hai 8 meses | |
---|---|---|
.. | ||
.editorconfig | hai 8 meses | |
.istanbul.yml | hai 8 meses | |
.npmignore | hai 8 meses | |
.travis.yml | hai 8 meses | |
LICENSE | hai 8 meses | |
README.md | hai 8 meses | |
index.js | hai 8 meses | |
package.json | hai 8 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.